summaryrefslogtreecommitdiff
path: root/src/configure
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-04-28 14:03:26 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-04-28 14:03:26 (GMT)
commitcb96c4290a1354577c50c87e864ad4b8fde73036 (patch)
tree81392f1fb6b250c643435ed89eabb1974ec9b873 /src/configure
parent20ae6e2cc2bf30432333c036a0efd551f125caf4 (diff)
removed init script
removed etc dir
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