~ubuntu-branches/debian/squeeze/util-vserver/squeeze

« back to all changes in this revision

Viewing changes to m4/ensc_initrddir.m4

  • Committer: Bazaar Package Importer
  • Author(s): Micah Anderson
  • Date: 2010-04-13 12:36:17 UTC
  • Revision ID: james.westby@ubuntu.com-20100413123617-ve6wgautfmwfhnkc
Tags: 0.30.216-pre2864-2
* Switch to dpkg-source 3.0 (quilt) format
* Fix bashisms in helper scripts (Closes: #530995)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
dnl $Id: ensc_initrddir.m4 2846 2009-08-23 12:36:40Z ensc $
 
1
dnl $Id: ensc_initrddir.m4 1887 2005-03-09 14:42:39Z ensc $
2
2
 
3
 
dnl Copyright (C) 2002, 2003, 2005, 2009
4
 
dnl     Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
5
 
dnl
 
3
dnl Copyright (C) 2002 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
 
4
dnl  
6
5
dnl This program is free software; you can redistribute it and/or modify
7
6
dnl it under the terms of the GNU General Public License as published by
8
 
dnl the Free Software Foundation; version 2 and/or 3 of the License.
9
 
dnl
 
7
dnl the Free Software Foundation; version 2 of the License.
 
8
dnl  
10
9
dnl This program is distributed in the hope that it will be useful,
11
10
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12
11
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
12
dnl GNU General Public License for more details.
14
 
dnl
 
13
dnl  
15
14
dnl You should have received a copy of the GNU General Public License
16
15
dnl along with this program; if not, write to the Free Software
17
16
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
23
        AC_ARG_WITH([initrddir],
25
24
                    [AC_HELP_STRING([--with-initrddir <DIR>],
26
25
                                    [use <DIR> as directory for SysV init-files (default: $sysconfdir/init.d)])],
27
 
                    [case "$withval" in
 
26
                    [case "$withval" in
28
27
                        yes|no) AC_MSG_ERROR(['$withval' is not a valid value for '--with-initrddir']);;
29
 
                        *)      ensc_initrddir=$withval;;
 
28
                        *)      ensc_initrddir=$withval;;
30
29
                     esac],
31
30
                    [ensc_initrddir='$(sysconfdir)/init.d'])
32
31
 
37
36
 
38
37
        AC_MSG_RESULT($ensc_initrddir)
39
38
])
 
39