summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-07-13 21:17:20 +0000
committerDiego Biurrun <diego@biurrun.de>2006-07-13 21:17:20 +0000
commit43865cf092b2e623346fe0d3cbd1a175b9663408 (patch)
treef0f31afd0a431b57fc68e1862b1fc20b2f3c94c1 /configure
parent5894e1bbf2f4f32949633edd01fdc237eb3cca07 (diff)
Simplify the setting of some defaults.
Originally committed as revision 5730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 4 insertions, 20 deletions
diff --git a/configure b/configure
index e147b835a9..64be2bf24a 100755
--- 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"