76 lines
3.1 KiB
Plaintext
76 lines
3.1 KiB
Plaintext
dnl-----------------------------------------------------------------------------
|
|
dnl Copyright (c) 2010 Sourcefabric O.P.S.
|
|
dnl
|
|
dnl This file is part of the Campcaster project.
|
|
dnl http://campcaster.sourcefabric.org/
|
|
dnl
|
|
dnl Campcaster 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 Campcaster 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 Campcaster; if not, write to the Free Software
|
|
dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
dnl
|
|
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(StorageAdmin, 0.0, bugs@campware.org)
|
|
AC_PREREQ(2.59)
|
|
AC_COPYRIGHT([Copyright (c) 2010 Sourcefabric O.P.S. under the GNU GPL])
|
|
AC_REVISION($Revision$)
|
|
|
|
AC_CONFIG_SRCDIR(../var/getStorPath.php)
|
|
|
|
dnl-----------------------------------------------------------------------------
|
|
dnl specify directory with php parts of scripts
|
|
dnl-----------------------------------------------------------------------------
|
|
AC_SUBST(PHPPART_DIR)
|
|
|
|
AC_ARG_WITH([phppart-dir],
|
|
AC_HELP_STRING([--with-phppart-dir],
|
|
[directory with php parts of scripts]),
|
|
[PHPPART_DIR=${withval}], [PHPPART_DIR=${prefix}/var/LiveSupport/storageAdmin/var])
|
|
|
|
AC_MSG_RESULT([directory with php parts of scripts: ${PHPPART_DIR}])
|
|
|
|
dnl-----------------------------------------------------------------------------
|
|
dnl specify storageServer directory
|
|
dnl-----------------------------------------------------------------------------
|
|
AC_SUBST(STORAGE_SERVER)
|
|
|
|
AC_ARG_WITH([storage-server],
|
|
AC_HELP_STRING([--with-storage-server],
|
|
[use storageServer in given directory]),
|
|
[STORAGE_SERVER=${withval}], [STORAGE_SERVER=${prefix}/var/LiveSupport/storageServer])
|
|
|
|
AC_MSG_RESULT([using storageServer at: ${STORAGE_SERVER}])
|
|
|
|
dnl-----------------------------------------------------------------------------
|
|
dnl msg notice
|
|
dnl-----------------------------------------------------------------------------
|
|
AC_MSG_NOTICE(
|
|
[using the following configuration settings:
|
|
|
|
storageServer directory: ${STORAGE_SERVER}
|
|
php parts directory: ${PHPPART_DIR}
|
|
|
|
])
|
|
|
|
|
|
AC_CONFIG_FILES(../Makefile:../etc/Makefile.in)
|
|
|
|
AC_OUTPUT()
|