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.