Commit 3a9ae260 authored by Michael Smith's avatar Michael Smith

Fix for #155 - configure not accepting --mandir correctly.

svn path=/trunk/vorbis-tools/; revision=3535
parent cefd2f97
......@@ -134,10 +134,14 @@ dnl --------------------------------------------------
dnl Work around FHS stupidity
dnl --------------------------------------------------
if test "$prefix" = "/usr"; then
MANDIR='$(datadir)/man'
if test -z "$mandir"; then
if test "$prefix" = "/usr"; then
MANDIR='$(datadir)/man'
else
MANDIR='$(prefix)/man'
fi
else
MANDIR='$(prefix)/man'
MANDIR=$mandir
fi
AC_SUBST(MANDIR)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment