2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
dnl AC_PREREQ(2.59)
|
|
|
|
|
2021-09-05 05:12:06 +00:00
|
|
|
AC_INIT([codepot],[0.4.0],,,[http://code.abiyo.net/@codepot])
|
2022-08-16 09:22:57 +00:00
|
|
|
AC_CONFIG_HEADERS([./config.h])
|
2010-01-24 14:34:03 +00:00
|
|
|
AC_CONFIG_AUX_DIR([ac/aux])
|
|
|
|
AC_CONFIG_MACRO_DIR([ac/m4])
|
|
|
|
|
|
|
|
dnl initialize automake
|
|
|
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
|
|
|
|
|
|
|
|
dnl check common tools
|
|
|
|
AC_CHECK_TOOL(LD, ld)
|
|
|
|
AC_CHECK_TOOL(GREP, grep)
|
|
|
|
AC_CHECK_TOOL(RM, rm)
|
2010-04-07 14:38:07 +00:00
|
|
|
AC_CHECK_TOOL(RMDIR, rmdir)
|
2010-01-24 14:34:03 +00:00
|
|
|
AC_CHECK_TOOL(SED, sed)
|
|
|
|
|
|
|
|
RM="$RM -f"
|
|
|
|
|
|
|
|
# storage directory for file uploads and subversion repositories
|
|
|
|
depotdir="${localstatedir}/lib/${PACKAGE}"
|
|
|
|
AC_ARG_WITH(depotdir,
|
2022-08-16 09:22:57 +00:00
|
|
|
AS_HELP_STRING(
|
2010-01-24 14:34:03 +00:00
|
|
|
[--with-depotdir],
|
|
|
|
[directory for file uploads and subversion repositories]),
|
|
|
|
[depotdir=$withval])
|
|
|
|
AC_SUBST(depotdir, $depotdir)
|
|
|
|
|
|
|
|
# configuration direcotry
|
|
|
|
cfgdir="${sysconfdir}/${PACKAGE}"
|
|
|
|
AC_ARG_WITH(cfgdir,
|
2022-08-16 09:22:57 +00:00
|
|
|
AS_HELP_STRING(
|
2010-01-24 14:34:03 +00:00
|
|
|
[--with-cfgdir],
|
|
|
|
[directory for configuration files]),
|
|
|
|
[cfgdir=$withval])
|
|
|
|
AC_SUBST(cfgdir, $cfgdir)
|
|
|
|
|
|
|
|
# www document direcotry
|
|
|
|
wwwdir="${localstatedir}/www/${PACKAGE}"
|
|
|
|
AC_ARG_WITH(wwwdir,
|
2022-08-16 09:22:57 +00:00
|
|
|
AS_HELP_STRING(
|
2010-01-24 14:34:03 +00:00
|
|
|
[--with-wwwdir],
|
|
|
|
[directory for www document files]),
|
|
|
|
[wwwdir=$withval])
|
|
|
|
AC_SUBST(wwwdir, $wwwdir)
|
|
|
|
|
|
|
|
# log directory
|
|
|
|
logdir="${localstatedir}/log/${PACKAGE}"
|
|
|
|
AC_ARG_WITH(logdir,
|
2022-08-16 09:22:57 +00:00
|
|
|
AS_HELP_STRING(
|
2010-01-24 14:34:03 +00:00
|
|
|
[--with-logdir],
|
|
|
|
[directory for log files]),
|
|
|
|
[logdir=$withval])
|
|
|
|
AC_SUBST(logdir, $logdir)
|
|
|
|
|
|
|
|
# cache directory
|
|
|
|
cachedir="${localstatedir}/cache/${PACKAGE}"
|
|
|
|
AC_ARG_WITH(cachedir,
|
2022-08-16 09:22:57 +00:00
|
|
|
AS_HELP_STRING(
|
2010-01-24 14:34:03 +00:00
|
|
|
[--with-cachedir],
|
|
|
|
[directory for cache files]),
|
|
|
|
[cachedir=$withval])
|
|
|
|
AC_SUBST(cachedir, $cachedir)
|
|
|
|
|
2015-04-10 14:48:38 +00:00
|
|
|
phpextdir="${libdir}/php/modules"
|
|
|
|
AC_ARG_WITH(phpextdir,
|
2022-08-16 09:22:57 +00:00
|
|
|
AS_HELP_STRING(
|
2015-04-10 14:48:38 +00:00
|
|
|
[--with-phpextdir],
|
|
|
|
[directory where a php extension file is stored]),
|
|
|
|
[phpextdir=$withval])
|
|
|
|
AC_SUBST(phpextdir, $phpextdir)
|
|
|
|
|
|
|
|
phpextinidir="${sysconfdir}/php.d"
|
|
|
|
AC_ARG_WITH(phpextinidir,
|
2022-08-16 09:22:57 +00:00
|
|
|
AS_HELP_STRING(
|
2015-04-10 14:48:38 +00:00
|
|
|
[--with-phpextinidir],
|
|
|
|
[directory where a php extension is enabled]),
|
|
|
|
[phpextinidir=$withval])
|
|
|
|
AC_SUBST(phpextinidir, $phpextinidir)
|
|
|
|
|
2010-01-24 14:34:03 +00:00
|
|
|
AS_AC_EXPAND(PREFIX, $prefix)
|
|
|
|
AS_AC_EXPAND(LIBDIR, $libdir)
|
2010-03-28 13:44:24 +00:00
|
|
|
AS_AC_EXPAND(LIBEXECDIR, $libexecdir)
|
2015-02-16 12:38:13 +00:00
|
|
|
AS_AC_EXPAND(DATAROOTDIR, $datarootdir)
|
2010-01-24 14:34:03 +00:00
|
|
|
AS_AC_EXPAND(DATADIR, $datadir)
|
2010-03-28 13:44:24 +00:00
|
|
|
AS_AC_EXPAND(DOCDIR, $docdir)
|
2010-01-24 14:34:03 +00:00
|
|
|
AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
|
|
|
|
AS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
|
|
|
|
AS_AC_EXPAND(BINDIR, $bindir)
|
|
|
|
AS_AC_EXPAND(SBINDIR, $sbindir)
|
|
|
|
|
2015-04-10 14:48:38 +00:00
|
|
|
AS_AC_EXPAND(DEPOTDIR, $depotdir)
|
|
|
|
AS_AC_EXPAND(CFGDIR, $cfgdir)
|
|
|
|
AS_AC_EXPAND(WWWDIR, $wwwdir)
|
|
|
|
AS_AC_EXPAND(LOGDIR, $logdir)
|
|
|
|
AS_AC_EXPAND(CACHEDIR, $cachedir)
|
|
|
|
AS_AC_EXPAND(PHPEXTDIR, $phpextdir)
|
|
|
|
AS_AC_EXPAND(PHPEXTINIDIR, $phpextinidir)
|
2010-01-24 14:34:03 +00:00
|
|
|
|
|
|
|
|
|
|
|
AC_CONFIG_FILES([
|
|
|
|
Makefile
|
2010-04-07 12:13:44 +00:00
|
|
|
codepot.spec
|
2010-01-24 14:34:03 +00:00
|
|
|
etc/Makefile
|
|
|
|
etc/codepot.ini
|
|
|
|
etc/codepot.a2ldap
|
2014-05-20 01:55:47 +00:00
|
|
|
etc/codepot.httpd
|
2014-06-23 10:07:08 +00:00
|
|
|
etc/pre-commit
|
2014-05-16 03:18:22 +00:00
|
|
|
etc/start-commit
|
2014-05-16 15:49:16 +00:00
|
|
|
etc/post-commit
|
2014-05-16 13:26:49 +00:00
|
|
|
etc/pre-revprop-change
|
2014-05-16 15:56:03 +00:00
|
|
|
etc/post-revprop-change
|
2014-05-17 16:22:56 +00:00
|
|
|
sbin/Makefile
|
|
|
|
sbin/codepot-user
|
2015-04-10 14:48:38 +00:00
|
|
|
pecl-svn/Makefile
|
2010-01-24 14:34:03 +00:00
|
|
|
DEBIAN/Makefile
|
|
|
|
DEBIAN/control
|
|
|
|
DEBIAN/postinst
|
|
|
|
DEBIAN/postrm
|
2021-09-08 11:59:01 +00:00
|
|
|
|
|
|
|
docker/Makefile
|
|
|
|
|
|
|
|
src/Makefile
|
2010-01-24 14:34:03 +00:00
|
|
|
src/config.php
|
|
|
|
src/codepot/config/Makefile
|
|
|
|
src/codepot/controllers/Makefile
|
2021-09-05 05:12:06 +00:00
|
|
|
src/codepot/core/Makefile
|
2010-01-24 14:34:03 +00:00
|
|
|
src/codepot/errors/Makefile
|
|
|
|
src/codepot/helpers/Makefile
|
|
|
|
src/codepot/hooks/Makefile
|
|
|
|
src/codepot/language/english/Makefile
|
|
|
|
src/codepot/language/indonesian/Makefile
|
|
|
|
src/codepot/language/korean/Makefile
|
|
|
|
src/codepot/language/Makefile
|
|
|
|
src/codepot/libraries/Makefile
|
|
|
|
src/codepot/models/Makefile
|
|
|
|
src/codepot/views/Makefile
|
|
|
|
src/codepot/Makefile
|
2015-04-22 14:07:37 +00:00
|
|
|
src/css/fonts/Makefile
|
2010-01-24 14:34:03 +00:00
|
|
|
src/css/images/Makefile
|
|
|
|
src/css/Makefile
|
|
|
|
src/js/prettify/Makefile
|
|
|
|
src/js/Makefile
|
2015-05-13 15:51:39 +00:00
|
|
|
src/ace/Makefile
|
2021-09-05 03:32:08 +00:00
|
|
|
|
|
|
|
src/system/fonts/Makefile
|
|
|
|
src/system/libraries/javascript/Makefile
|
|
|
|
src/system/libraries/Cache/drivers/Makefile
|
|
|
|
src/system/libraries/Cache/Makefile
|
|
|
|
src/system/libraries/Makefile
|
|
|
|
src/system/language/english/Makefile
|
|
|
|
src/system/language/Makefile
|
|
|
|
src/system/helpers/Makefile
|
|
|
|
src/system/core/Makefile
|
|
|
|
src/system/database/drivers/odbc/Makefile
|
|
|
|
src/system/database/drivers/pdo/Makefile
|
|
|
|
src/system/database/drivers/postgre/Makefile
|
2010-01-24 14:34:03 +00:00
|
|
|
src/system/database/drivers/mssql/Makefile
|
2021-09-05 03:32:08 +00:00
|
|
|
src/system/database/drivers/cubrid/Makefile
|
2010-01-24 14:34:03 +00:00
|
|
|
src/system/database/drivers/mysql/Makefile
|
2021-09-05 03:32:08 +00:00
|
|
|
src/system/database/drivers/sqlsrv/Makefile
|
2010-01-24 14:34:03 +00:00
|
|
|
src/system/database/drivers/oci8/Makefile
|
|
|
|
src/system/database/drivers/sqlite/Makefile
|
2021-09-05 03:32:08 +00:00
|
|
|
src/system/database/drivers/mysqli/Makefile
|
2010-01-24 14:34:03 +00:00
|
|
|
src/system/database/drivers/Makefile
|
|
|
|
src/system/database/Makefile
|
|
|
|
src/system/Makefile
|
2021-09-05 03:32:08 +00:00
|
|
|
|
2010-01-24 14:34:03 +00:00
|
|
|
])
|
|
|
|
AC_OUTPUT
|
|
|
|
|