1
0
forked from aniani/gmnisrv

configure: add --libdir

This commit is contained in:
Eyal Sawady 2020-09-24 14:39:36 -04:00 committed by Drew DeVault
parent 85a85b37f8
commit e15aca171d

View File

@ -9,8 +9,16 @@ SCDOC=${SCDOC:-scdoc}
for arg
do
# TODO: Add args for install directories
case "$arg" in
--bindir=*)
BINDIR=${arg#*=}
;;
--libdir=*)
LIBDIR=${arg#*=}
;;
--mandir=*)
MANDIR=${arg#*=}
;;
--prefix=*)
PREFIX=${arg#*=}
if [ "$PREFIX" = "/usr" ]
@ -18,15 +26,9 @@ do
SYSCONFDIR=/etc
fi
;;
--bindir=*)
BINDIR=${arg#*=}
;;
--sysconfdir=*)
SYSCONFDIR=${arg#*=}
;;
--mandir=*)
MANDIR=${arg#*=}
;;
esac
done