summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure b/configure
index 0eefd30..655fd82 100755
--- a/configure
+++ b/configure
@@ -44,8 +44,8 @@ Configuration:
Installation directories:
--prefix=PREFIX install files under PREFIX
default: /usr/local
- --sbindir=SBINDIR install scripts in SBINDIR
- default: PREFIX/sbin
+ --bindir=BINDIR install scripts in BINDIR
+ default: PREFIX/bin
EOF
}
@@ -91,9 +91,9 @@ while true; do
PREFIX="${2}"
shift 2
;;
- --sbindir)
+ --bindir)
# Leave PREFIX unexpanded for now, in case it isn't set yet.
- SBINDIR="\${PREFIX}/${2}"
+ BINDIR="\${PREFIX}/${2}"
shift 2
;;
--)
@@ -117,11 +117,11 @@ fi
if [ -z "${PREFIX}" ]; then
PREFIX=/usr/local
fi
-if [ -z "${SBINDIR}" ]; then
- SBINDIR=${PREFIX}/sbin
+if [ -z "${BINDIR}" ]; then
+ BINDIR=${PREFIX}/sbin
fi
# Expand PREFIX if it's there.
-eval "SBINDIR=${SBINDIR}"
+eval "BINDIR=${BINDIR}"
find_dependency()
{
@@ -161,7 +161,7 @@ s&@shell@&${SHELL}&
s&@install@&${INSTALL} -c&
s&@srcdir@&${SRCDIR}&
s&@prefix@&${PREFIX}&
-s&@sbindir@&${SBINDIR}&"
+s&@bindir@&${BINDIR}&"
# Replace configuration variables in Makefile.in
sed "$sed_script" ${SRCDIR}/Makefile.in > Makefile