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"