summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-09-28 23:32:22 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-09-28 23:32:22 +0200
commita0d01155dc7b2774435721aa319625c9c42d9e59 (patch)
treedcbdcfc88ce73956ccd2790c805c5713d318a762 /configure.ac
parent109efdb60386dbabd451162f3f3145a1eaf47f5e (diff)
downloadsmokeping-a0d01155dc7b2774435721aa319625c9c42d9e59.tar.gz
smokeping-a0d01155dc7b2774435721aa319625c9c42d9e59.tar.xz
make install destination configurable
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 888da27..0807b97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,9 @@ AC_ARG_ENABLE(pkgonly,
[Skip all checking])])
AC_SUBST(enable_pkgonly)
+HTDOCSDIR=${prefix}/htdocs
+AC_ARG_WITH(htdocs-dir,[ --with-htdocs-dir=[DIR] Where to install htdocs [PREFIX/htdocs]], [HTDOCSDIR=$withval])
+AC_SUBST(HTDOCSDIR)
PERLLIBDIRS=