Simplify the setting of some defaults.

Originally committed as revision 5730 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2006-07-13 21:17:20 +00:00
parent 5894e1bbf2
commit 43865cf092
1 changed files with 4 additions and 20 deletions

24
configure vendored
View File

@ -327,10 +327,10 @@ TMPH="${TMPDIR1}/ffmpeg-conf-${RANDOM}-$$-${RANDOM}.h"
logging="yes" logging="yes"
logfile="config.err" logfile="config.err"
prefix="/usr/local" prefix="/usr/local"
libdir="" libdir="${prefix}/lib"
incdir="" incdir="${prefix}/include/ffmpeg"
mandir="" mandir="${prefix}/man"
bindir="" bindir="${prefix}/bin"
cross_prefix="" cross_prefix=""
cross_compile="no" cross_compile="no"
cc="gcc" cc="gcc"
@ -1473,22 +1473,6 @@ if test "$gprof" = "yes" ; then
LDFLAGS="$LDFLAGS -p" LDFLAGS="$LDFLAGS -p"
fi 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 "install prefix $prefix"
echo "source path $source_path" echo "source path $source_path"
echo "C compiler $cc" echo "C compiler $cc"