X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=m4%2Fensc_initrddir.m4;h=b45c3c0a6af20861005cfb35654a7e3c33d9588d;hb=2e45bc70c885e5e7be29206330eb45e53a741c90;hp=48dbfbb0c6135fdb214b1e299571b8c5d709f6c1;hpb=9c78378bebc1a9f3d400f422df8ede9efea57dea;p=util-vserver.git diff --git a/m4/ensc_initrddir.m4 b/m4/ensc_initrddir.m4 index 48dbfbb..b45c3c0 100644 --- a/m4/ensc_initrddir.m4 +++ b/m4/ensc_initrddir.m4 @@ -1,16 +1,17 @@ dnl $Id$ -dnl Copyright (C) 2002 Enrico Scholz -dnl +dnl Copyright (C) 2002, 2003, 2005, 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. @@ -23,9 +24,9 @@ AC_DEFUN([ENSC_INITRDDIR], AC_ARG_WITH([initrddir], [AC_HELP_STRING([--with-initrddir ], [use as directory for SysV init-files (default: $sysconfdir/init.d)])], - [case "$withval" in + [case "$withval" in yes|no) AC_MSG_ERROR(['$withval' is not a valid value for '--with-initrddir']);; - *) ensc_initrddir=$withval;; + *) ensc_initrddir=$withval;; esac], [ensc_initrddir='$(sysconfdir)/init.d']) @@ -36,4 +37,3 @@ AC_DEFUN([ENSC_INITRDDIR], AC_MSG_RESULT($ensc_initrddir) ]) -