summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure')
-rwxr-xr-xsrc/configure11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/configure b/src/configure
index 56a0112..9de0fca 100755
--- a/src/configure
+++ b/src/configure
@@ -33,7 +33,6 @@ LDFLAGS='-g -Wall -O2'
PREFIX='/usr/local'
BINDIR=''
-ETCDIR=''
MANDIR=''
INSTALLMANPAGE=1
@@ -42,7 +41,6 @@ print_usage() {
echo " --target=<TARGET> build target i.e. Linux (default: autodetect)"
echo " --prefix=<PREFIX> the installation prefix (default: /usr/local)"
echo " --bindir=<DIR> the path to the bin directory (default: $PREFIX/bin)"
- echo " --sysconfdir=<DIR> the path to the system configuration directory (default: $PREFIX/etc"
echo " --mandir=<DIR> the path to the system man pages (default: $PREFIX/share/man)"
echo " --no-manpage dont't install manpage"
}
@@ -59,9 +57,6 @@ do
--bindir=*)
BINDIR=${arg#--bindir=}
;;
- --sysconfdir=*)
- ETCDIR=${arg#--sysconfdir=}
- ;;
--mandir=*)
MANDIR=${arg#--mandir=}
;;
@@ -112,10 +107,6 @@ if [ -z "$BINDIR" ]; then
BINDIR=$PREFIX/bin
fi
-if [ -z "$ETCDIR" ]; then
- ETCDIR=$PREFIX/etc
-fi
-
if [ -z "$MANDIR" ]; then
MANDIR=$PREFIX/share/man
fi
@@ -135,7 +126,6 @@ RAGEL := ragel
PREFIX := '$PREFIX'
BINDIR := '$BINDIR'
-ETCDIR := '$ETCDIR'
EOF
if [ $INSTALLMANPAGE -eq 1 ]; then
@@ -174,7 +164,6 @@ cat > config.h <<EOF
#define TARGET "$TARGET"
#define PREFIX "$PREFIX"
#define BINDIR "$BINDIR"
-#define ETCDIR "$ETCDIR"
#endif
EOF