|
|
|
@ -5,25 +5,34 @@
|
|
|
|
|
#
|
|
|
|
|
# $Id$
|
|
|
|
|
#
|
|
|
|
|
# Copyright (c) 2005, 2006 Tim Rice
|
|
|
|
|
# Copyright (c) 2005, 2006, 2010 Tim Rice
|
|
|
|
|
#
|
|
|
|
|
# Permission to use, copy, modify, and distribute this software for any
|
|
|
|
|
# purpose with or without fee is hereby granted, provided that the above
|
|
|
|
|
# copyright notice and this permission notice appear in all copies.
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
#
|
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
|
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
|
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
|
|
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
|
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
|
|
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
|
|
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
|
#
|
|
|
|
|
#The complete license can be found in the file COPYING.
|
|
|
|
|
|
|
|
|
|
AC_PREREQ(2.53)
|
|
|
|
|
AC_INIT(ldap-account-manager, @@VERSION@@, lam-public@lists.sourceforge.net)
|
|
|
|
|
AC_CONFIG_SRCDIR(README)
|
|
|
|
|
AC_PREFIX_DEFAULT(/usr/local/lam)
|
|
|
|
|
|
|
|
|
|
# work around those that want to build in srcdir
|
|
|
|
|
if test x$srcdir = "x." ; then
|
|
|
|
|
srcdir=`pwd`
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Does make set variable $(MAKE)
|
|
|
|
|
AC_PROG_MAKE_SET
|
|
|
|
|
|
|
|
|
@ -80,6 +89,20 @@ AC_ARG_WITH(httpd-group,
|
|
|
|
|
)
|
|
|
|
|
AC_SUBST(HTTPD_GROUP)
|
|
|
|
|
|
|
|
|
|
WEB_ROOT=${prefix}
|
|
|
|
|
AC_ARG_WITH(web-root,
|
|
|
|
|
[ --with-web-root=PATH Specify where the LAM files that the web server
|
|
|
|
|
uses should be installed.
|
|
|
|
|
default is ${prefix} ],
|
|
|
|
|
[
|
|
|
|
|
if test -n "$withval" && test "x$withval" != "xno" && \
|
|
|
|
|
test "x${withval}" != "xyes"; then
|
|
|
|
|
WEB_ROOT=$withval
|
|
|
|
|
fi
|
|
|
|
|
]
|
|
|
|
|
)
|
|
|
|
|
AC_SUBST(WEB_ROOT)
|
|
|
|
|
|
|
|
|
|
AC_ARG_WITH(perl,
|
|
|
|
|
[ --with-perl=PATH Specify path to perl program ],
|
|
|
|
|
[
|
|
|
|
|