[vhffs-dev] [1123] --prefix configure switch is now correctly used. |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1123
Author: beuss
Date: 2008-01-10 12:48:23 +0000 (Thu, 10 Jan 2008)
Log Message:
-----------
--prefix configure switch is now correctly used.
Modified Paths:
--------------
trunk/configure.ac
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2008-01-10 12:39:25 UTC (rev 1122)
+++ trunk/configure.ac 2008-01-10 12:48:23 UTC (rev 1123)
@@ -5,7 +5,7 @@
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_SED
-AC_PREFIX_DEFAULT([/usr])
+AC_PREFIX_DEFAULT([/])
AC_PATH_PROG([PERL], [perl], [not found])
if test "$PERL" = 'not found'; then
@@ -25,7 +25,7 @@
AC_HELP_STRING([--with-conf-path=path],
[Complete path for configuration files (/etc/vhffs)]),
CONFDIR=$withval,
- CONFDIR=/etc/vhffs
+ CONFDIR=${prefix}/etc/vhffs
)
AC_SUBST(CONFDIR)
@@ -33,7 +33,7 @@
AC_HELP_STRING([--with-shell-path=path],
[Complete path for tux shell and falseshell(/bin)]),
SHELLDIR=$withval,
- SHELLDIR=/usr/bin
+ SHELLDIR=${prefix}/usr/bin
)
AC_SUBST(SHELLDIR)
@@ -42,7 +42,7 @@
AC_HELP_STRING([--with-tools-path=path],
[Complete path for tools (executables) (/usr/local/bin)]),
TOOLSDIR=$withval,
- TOOLSDIR=/usr/local/bin
+ TOOLSDIR=${prefix}/usr/local/bin
)
AC_SUBST(TOOLSDIR)
@@ -51,7 +51,7 @@
AC_HELP_STRING([--with-doc-path=path],
[Complete path for documentation files (/usr/share/doc/vhffs)]),
DOCDIR=$withval,
- DOCDIR=/usr/share/doc/vhffs
+ DOCDIR=${prefix}/usr/share/doc/vhffs
)
AC_SUBST(DOCDIR)
@@ -60,7 +60,7 @@
AC_HELP_STRING([--with-api-path=path],
[Path for perl modules (API) (/usr/share/vhffs/api)]),
VHFFS_LIBDIR=$withval,
- VHFFS_LIBDIR=/usr/share/vhffs/api
+ VHFFS_LIBDIR=${prefix}/usr/share/vhffs/api
)
APIDIR=$VHFFS_LIBDIR/Vhffs
AC_SUBST(APIDIR)
@@ -71,7 +71,7 @@
AC_HELP_STRING([--with-panel-path=path],
[Complete path for panel interface (/usr/share/vhffs/panel)]),
PANELDIR=$withval,
- PANELDIR=/usr/share/vhffs/panel
+ PANELDIR=${prefix}/usr/share/vhffs/panel
)
AC_SUBST(PANELDIR)
@@ -80,7 +80,7 @@
AC_HELP_STRING([--with-public-path=path],
[Complete path for public interface (/usr/share/vhffs/public)]),
PUBLICDIR=$withval,
- PUBLICDIR=/usr/share/vhffs/public
+ PUBLICDIR=${prefix}/usr/share/vhffs/public
)
AC_SUBST(PUBLICDIR)
@@ -89,7 +89,7 @@
AC_HELP_STRING([--with-template-path=path],
[Complete path for web templates (/usr/share/vhffs/templates)]),
TEMPLATESDIR=$withval,
- TEMPLATESDIR=/usr/share/vhffs/templates
+ TEMPLATESDIR=${prefix}/usr/share/vhffs/templates
)
AC_SUBST(TEMPLATESDIR)
@@ -97,7 +97,7 @@
AC_HELP_STRING([--with-backend-path=path],
[Complete path for backend (/usr/share/vhffs/backend)]),
BACKENDDIR=$withval,
- BACKENDDIR=/usr/share/vhffs/backend
+ BACKENDDIR=${prefix}/usr/share/vhffs/backend
)
AC_SUBST(BACKENDDIR)
@@ -106,7 +106,7 @@
AC_HELP_STRING([--with-robot-path=path],
[Complete path for robots file (/usr/lib/vhffs/bots)]),
BOTSDIR=$withval,
- BOTSDIR=/usr/lib/vhffs/bots
+ BOTSDIR=${prefix}/usr/lib/vhffs/bots
)
AC_SUBST(BOTSDIR)
@@ -115,7 +115,7 @@
AC_HELP_STRING([--with-jabber-path=path],
[Complete path for jabber pipe (/usr/share/vhffs/jabber)]),
JABBERDIR=$withval,
- JABBERDIR=/usr/share/vhffs/jabber
+ JABBERDIR=${prefix}/usr/share/vhffs/jabber
)
AC_SUBST(JABBERDIR)
@@ -124,7 +124,7 @@
AC_HELP_STRING([--with-listengine-path=path],
[Complete path for listengine bouncer (/usr/lib/vhffs/listengine)]),
LEDIR=$withval,
- LEDIR=/usr/lib/vhffs/listengine
+ LEDIR=${prefix}/usr/lib/vhffs/listengine
)
AC_SUBST(LEDIR)
@@ -133,7 +133,7 @@
AC_HELP_STRING([--with-doc-path=path],
[Complete path for documentation files (/usr/share/doc/vhffs)]),
DOCSDIR=$withval,
- DOCSDIR=/usr/share/doc/vhffs
+ DOCSDIR=${prefix}/usr/share/doc/vhffs
)
AC_SUBST(DOCSDIR)
@@ -143,7 +143,7 @@
AC_HELP_STRING([--with-compat-path=path],
[Complete path for compatibility scripts (/usr/share/doc/vhffs/compat)]),
COMPATDIR=$withval,
- COMPATDIR=/usr/share/doc/vhffs/compat
+ COMPATDIR=${prefix}/usr/share/doc/vhffs/compat
)
AC_SUBST(COMPATDIR)