summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2007-08-07 00:57:48 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-08-07 00:57:48 +0000
commit2a320695ecbf7c20c234c855d4efad56804afa05 (patch)
treea649114be9e4cc5b7153b375f3eabab007f7606d /configure
parenta9bb28a315e9470005ff1908440afed969d005ee (diff)
Simplify configure's output
Originally committed as revision 9972 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 0933d66ac3..fda9f22ee4 100755
--- a/configure
+++ b/configure
@@ -1234,6 +1234,10 @@ EOF
exit 1;
fi
+if disabled static; then
+ LIB=""
+fi
+
if ! enabled libogg; then
enabled libtheora && die "libogg must be enabled to enable libtheora."
enabled libvorbis && die "libogg must be enabled to enable libvorbis."
@@ -1896,11 +1900,7 @@ echo "BUILD_STATIC=$static" >> config.mak
echo "BUILDSUF=$BUILDSUF" >> config.mak
echo "LIBPREF=$LIBPREF" >> config.mak
echo "LIBSUF=\${BUILDSUF}$LIBSUF" >> config.mak
-if enabled static; then
echo "LIB=$LIB" >> config.mak
-else # Some Make complain if this variable does not exist.
- echo "LIB=" >> config.mak
-fi
echo "SLIBPREF=$SLIBPREF" >> config.mak
echo "SLIBSUF=\${BUILDSUF}$SLIBSUF" >> config.mak
echo "EXESUF=\${BUILDSUF}$EXESUF" >> config.mak