From 39b14ca07f64729c840e76ba0f89149fd254cf35 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 12 Feb 2010 18:24:11 +0000 Subject: [PATCH] fixed web root --- lam-packaging/autoconf/configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lam-packaging/autoconf/configure.ac b/lam-packaging/autoconf/configure.ac index 782576b9..635a15ac 100644 --- a/lam-packaging/autoconf/configure.ac +++ b/lam-packaging/autoconf/configure.ac @@ -89,7 +89,11 @@ AC_ARG_WITH(httpd-group, ) AC_SUBST(HTTPD_GROUP) -WEB_ROOT=${prefix} +if test ${prefix} = NONE; then + WEB_ROOT=${ac_default_prefix} +else + WEB_ROOT=${prefix} +fi AC_ARG_WITH(web-root, [ --with-web-root=PATH Specify where the LAM files that the web server uses should be installed.