From e88a0d5fcbb8bad848080716b96d3a5cf72fb62f Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 8 Jul 2016 00:17:10 +0200 Subject: moved anytun-lanucher to /lib --- src/configure | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/configure') diff --git a/src/configure b/src/configure index 0ba56b5..203a68c 100755 --- a/src/configure +++ b/src/configure @@ -59,6 +59,7 @@ ROUTING=1 PREFIX='/usr/local' BINDIR='' SBINDIR='' +LIBDIR='' ETCDIR='' MANDIR='' INSTALLMANPAGE=1 @@ -79,6 +80,7 @@ print_usage() { echo " --prefix= the installation prefix (default: /usr/local)" echo " --bindir= the path to the bin directory (default: $PREFIX/bin)" echo " --sbindir= the path to the sbin directory (default: $PREFIX/sbin)" + echo " --libdir= the path to the lib directory (default: $PREFIX/lib)" echo " --sysconfdir= the path to the system configuration directory (default: $PREFIX/etc" echo " --mandir= the path to the system man pages (default: $PREFIX/share/man)" echo " --no-manpage don't install manpages" @@ -121,6 +123,9 @@ do --sbindir=*) SBINDIR=${arg#--sbindir=} ;; + --libdir=*) + LIBDIR=${arg#--libdir=} + ;; --sysconfdir=*) ETCDIR=${arg#--sysconfdir=} ;; @@ -325,6 +330,10 @@ if [ -z "$SBINDIR" ]; then SBINDIR=$PREFIX/sbin fi +if [ -z "$LIBDIR" ]; then + LIBDIR=$PREFIX/lib +fi + if [ -z "$ETCDIR" ]; then ETCDIR=$PREFIX/etc fi @@ -362,6 +371,7 @@ INSTALL = install prefix := $PREFIX BINDIR := $BINDIR SBINDIR := $SBINDIR +LIBDIR := $LIBDIR ETCDIR := $ETCDIR EOF -- cgit v1.2.3