]> git.sesse.net Git - ffmpeg/commitdiff
Simplify the setting of some defaults.
authorDiego Biurrun <diego@biurrun.de>
Thu, 13 Jul 2006 21:17:20 +0000 (21:17 +0000)
committerDiego Biurrun <diego@biurrun.de>
Thu, 13 Jul 2006 21:17:20 +0000 (21:17 +0000)
Originally committed as revision 5730 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index e147b835a936276a8f0f3c666a9cef772166288c..64be2bf24ad2e7f8d4a83044de5385ca4a79ad3d 100755 (executable)
--- a/configure
+++ b/configure
@@ -327,10 +327,10 @@ TMPH="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.h"
 logging="yes"
 logfile="config.err"
 prefix="/usr/local"
-libdir=""
-incdir=""
-mandir=""
-bindir=""
+libdir="${prefix}/lib"
+incdir="${prefix}/include/ffmpeg"
+mandir="${prefix}/man"
+bindir="${prefix}/bin"
 cross_prefix=""
 cross_compile="no"
 cc="gcc"
@@ -1473,22 +1473,6 @@ if test "$gprof" = "yes" ; then
     LDFLAGS="$LDFLAGS -p"
 fi
 
-if test x"$bindir" = x""; then
-    bindir="${prefix}/bin"
-fi
-
-if test x"$libdir" = x""; then
-    libdir="${prefix}/lib"
-fi
-
-if test x"$incdir" = x""; then
-    incdir="${prefix}/include/ffmpeg"
-fi
-
-if test x"$mandir" = x""; then
-    mandir="${prefix}/man"
-fi
-
 echo "install prefix   $prefix"
 echo "source path      $source_path"
 echo "C compiler       $cc"