96 lines
3.8 KiB
Text
96 lines
3.8 KiB
Text
dnl-----------------------------------------------------------------------------
|
|
dnl Copyright (c) 2004 Media Development Loan Fund
|
|
dnl
|
|
dnl This file is part of the LiveSupport project.
|
|
dnl http://livesupport.campware.org/
|
|
dnl To report bugs, send an e-mail to bugs@campware.org
|
|
dnl
|
|
dnl LiveSupport 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; either version 2 of the License, or
|
|
dnl (at your option) any later version.
|
|
dnl
|
|
dnl LiveSupport 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 You should have received a copy of the GNU General Public License
|
|
dnl along with LiveSupport; if not, write to the Free Software
|
|
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
dnl
|
|
dnl
|
|
dnl Author : $Author: maroy $
|
|
dnl Version : $Revision: 1.2 $
|
|
dnl Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/htmlUI/etc/configure.ac,v $
|
|
dnl-----------------------------------------------------------------------------
|
|
|
|
dnl-----------------------------------------------------------------------------
|
|
dnl NOTE: Run all configure related scripts from the tmp directory of the
|
|
dnl project.
|
|
dnl This is due to the fact that configure spreads a lot of trash around,
|
|
dnl like atom4te cache directories, config.* files, etc. into the directory
|
|
dnl it is being run from. We clearly don't want these in our base directory.
|
|
dnl-----------------------------------------------------------------------------
|
|
AC_INIT(HtmlUI, 1.0, bugs@campware.org)
|
|
AC_PREREQ(2.59)
|
|
AC_COPYRIGHT([Copyright (c) 2004 Media Development Loan Fund under the GNU GPL])
|
|
AC_REVISION($Revision: 1.2 $)
|
|
|
|
AC_CONFIG_SRCDIR(../var/ui_conf.php)
|
|
|
|
dnl-----------------------------------------------------------------------------
|
|
dnl specify wether apache should be configured through it's conf.d directory
|
|
dnl-----------------------------------------------------------------------------
|
|
AC_SUBST(CONFIGURE_APACHE)
|
|
|
|
AC_ARG_WITH([configure-apache],
|
|
AC_HELP_STRING([--with-configure-apache],
|
|
[specify wether apache should be configured for LiveSupport
|
|
through its conf.d directory (no)]),
|
|
[CONFIGURE_APACHE=${withval}],
|
|
[CONFIGURE_APACHE=no])
|
|
|
|
AC_MSG_RESULT([configure apache: ${CONFIGURE_APACHE}])
|
|
|
|
|
|
dnl-----------------------------------------------------------------------------
|
|
dnl specify group in which apache is running
|
|
dnl-----------------------------------------------------------------------------
|
|
AC_SUBST(APACHE_GROUP)
|
|
|
|
AC_ARG_WITH([apache-group],
|
|
AC_HELP_STRING([--with-apache-group],
|
|
[use apache running in the specified group (apache)]),
|
|
[APACHE_GROUP=${withval}], [APACHE_GROUP=apache])
|
|
|
|
AC_MSG_RESULT([using apache group: ${APACHE_GROUP}])
|
|
|
|
|
|
dnl-----------------------------------------------------------------------------
|
|
dnl specify web document root
|
|
dnl-----------------------------------------------------------------------------
|
|
AC_SUBST(WWW_DOCROOT)
|
|
|
|
AC_ARG_WITH([www-docroot],
|
|
AC_HELP_STRING([--with-www-docroot],
|
|
[deploy LiveSupport under the specified docroot (/var/www)]),
|
|
[WWW_DOCROOT=${withval}], [WWW_DOCROOT=/var/www])
|
|
|
|
AC_MSG_RESULT([using www document root: ${WWW_DOCROOT}])
|
|
|
|
|
|
AC_MSG_NOTICE(
|
|
[using the following configuration settings:
|
|
|
|
apache group: ${APACHE_GROUP}
|
|
www document root: ${WWW_DOCROOT}
|
|
configuring apache: ${CONFIGURE_APACHE}
|
|
|
|
])
|
|
|
|
|
|
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
|
|
AC_OUTPUT()
|
|
|