X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=m4%2Fensc_uv_vrootdir.m4;h=0b4fa98e2fc3f215a93f43a24d60abaa9e5387e3;hb=909fa999c0180aba479959080bd434ad98930c49;hp=4430881f15688a6982ff534a80e3d618c25ffe5f;hpb=9c78378bebc1a9f3d400f422df8ede9efea57dea;p=util-vserver.git diff --git a/m4/ensc_uv_vrootdir.m4 b/m4/ensc_uv_vrootdir.m4 index 4430881..0b4fa98 100644 --- a/m4/ensc_uv_vrootdir.m4 +++ b/m4/ensc_uv_vrootdir.m4 @@ -1,23 +1,24 @@ dnl $Id$ -dnl Copyright (C) 2002 Enrico Scholz -dnl +dnl Copyright (C) 2002, 2003, 2009 +dnl Enrico Scholz +dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by -dnl the Free Software Foundation; version 2 of the License. -dnl +dnl the Free Software Foundation; version 2 and/or 3 of the License. +dnl dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. -dnl +dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl Usage: ENSC_UV_VROOTDIR[()] dnl ... name of variable which will get assigned -dnl the dirname of the vserver-topdir +dnl the dirname of the vserver-topdir AC_DEFUN([ENSC_UV_VROOTDIR], [ @@ -25,7 +26,7 @@ AC_DEFUN([ENSC_UV_VROOTDIR], AC_ARG_WITH([vrootdir], [AC_HELP_STRING([--with-vrootdir=DIR], [place vservers under DIR (default: /vservers)])], - [case "$withval" in + [case "$withval" in yes|no) AC_MSG_ERROR(['$withval' is not a valid value for vrootdir]);; *) ensc_uv_path_vrootdir=$withval;; esac],