File: ext/config.m4

Recommend this page to a friend!
  Classes of Alien Fernandez  >  Phady Framework  >  ext/config.m4  >  Download  
File: ext/config.m4
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Phady Framework
Web application MVC framework based on Phalcon
Author: By
Last change:
Date: 4 years ago
Size: 10,775 bytes
 

Contents

Class file image Download
PHP_ARG_ENABLE(phady, whether to enable phady, [ --enable-phady   Enable Phady])

if test "$PHP_PHADY" = "yes"; then

	

	if ! test "x" = "x"; then
		PHP_EVAL_LIBLINE(, PHADY_SHARED_LIBADD)
	fi

	AC_DEFINE(HAVE_PHADY, 1, [Whether you have Phady])
	phady_sources="phady.c kernel/main.c kernel/memory.c kernel/exception.c kernel/hash.c kernel/debug.c kernel/backtrace.c kernel/object.c kernel/array.c kernel/extended/array.c kernel/string.c kernel/fcall.c kernel/extended/fcall.c kernel/require.c kernel/file.c kernel/operators.c kernel/math.c kernel/concat.c kernel/variables.c kernel/filter.c kernel/iterator.c kernel/time.c kernel/exit.c phady/security/core/exception/authenticationexception.zep.c
	phady/common/entities/modelbase.zep.c
	phady/security/http/firewall/listenerinterface.zep.c
	phady/security/core/authentication/authenticationmanagerinterface.zep.c
	phady/security/core/user/userinterface.zep.c
	phady/security/core/authentication/provider/authenticationproviderinterface.zep.c
	phady/security/core/authentication/token/tokeninterface.zep.c
	phady/security/core/authorization/voter/voterinterface.zep.c
	phady/security/core/encoder/passwordencoderinterface.zep.c
	phady/security/core/exception/accountstatusexception.zep.c
	phady/security/core/user/userproviderinterface.zep.c
	phady/security/core/authentication/token/abstracttoken.zep.c
	phady/security/core/encoder/basepasswordencoder.zep.c
	phady/security/core/user/advanceduserinterface.zep.c
	phady/core/kernel.zep.c
	phady/security/core/role/roleinterface.zep.c
	phady/security/core/user/factory/userproviderfactoryinterface.zep.c
	phady/security/factory/securityfactoryinterface.zep.c
	phady/security/http/firewallmapinterface.zep.c
	phady/cache/cacheinterface.zep.c
	phady/http/requestmatcherinterface.zep.c
	phady/messaging/adapter/messaginginterface.zep.c
	phady/security/core/authentication/authenticationtrustresolverinterface.zep.c
	phady/security/core/authentication/model/userinterface.zep.c
	phady/security/core/authentication/provider/userauthenticationprovider.zep.c
	phady/security/core/authentication/token/storage/tokenstorageinterface.zep.c
	phady/security/core/authorization/accessdecisionmanagerinterface.zep.c
	phady/security/core/authorization/authorizationcheckerinterface.zep.c
	phady/security/core/authorization/voter/rolevoter.zep.c
	phady/security/core/encoder/encoderfactoryinterface.zep.c
	phady/security/core/exception/authenticationserviceexception.zep.c
	phady/security/core/role/role.zep.c
	phady/security/core/user/usercheckerinterface.zep.c
	phady/security/factory/abstractfactory.zep.c
	phady/security/http/accessmapinterface.zep.c
	phady/security/http/authentication/authenticationfailurehandlerinterface.zep.c
	phady/security/http/authentication/authenticationsuccesshandlerinterface.zep.c
	phady/security/http/authorization/accessdeniedhandlerinterface.zep.c
	phady/security/http/entrypoint/authenticationentrypointinterface.zep.c
	phady/security/http/firewall/abstractauthenticationlistener.zep.c
	phady/security/http/logout/logouthandlerinterface.zep.c
	phady/security/http/logout/logoutsuccesshandlerinterface.zep.c
	phady/cache/cachehandler.zep.c
	phady/common/controllers/accessdeniedcontroller.zep.c
	phady/common/controllers/controllerbase.zep.c
	phady/config/yaml.zep.c
	phady/console/command.zep.c
	phady/core/kernelcli.zep.c
	phady/core/kernelmvc.zep.c
	phady/core/namespacehandler.zep.c
	phady/core/parameter.zep.c
	phady/db/databasehandler.zep.c
	phady/exception.zep.c
	phady/http/iputils.zep.c
	phady/http/requestmatcher.zep.c
	phady/mail/mailreader.zep.c
	phady/messaging/adapter/rabbitmq.zep.c
	phady/messaging/messaging.zep.c
	phady/report/excel/template/excelmultitable.zep.c
	phady/route/router.zep.c
	phady/security/bundle/model/entity/roles.zep.c
	phady/security/bundle/model/entity/userrole.zep.c
	phady/security/bundle/model/repository/rolerepository.zep.c
	phady/security/bundle/model/repository/userrepository.zep.c
	phady/security/bundle/model/rolecore.zep.c
	phady/security/bundle/model/usercore.zep.c
	phady/security/bundle/services/userservice.zep.c
	phady/security/core/authentication/authenticationprovidermanager.zep.c
	phady/security/core/authentication/authenticationtrustresolver.zep.c
	phady/security/core/authentication/model/user.zep.c
	phady/security/core/authentication/model/usermanagerinterface.zep.c
	phady/security/core/authentication/provider/anonymousauthenticationprovider.zep.c
	phady/security/core/authentication/provider/daoauthenticationprovider.zep.c
	phady/security/core/authentication/provider/entityuserprovider.zep.c
	phady/security/core/authentication/provider/simpleauthenticationprovider.zep.c
	phady/security/core/authentication/provider/userprovider.zep.c
	phady/security/core/authentication/simpleauthenticatorinterface.zep.c
	phady/security/core/authentication/token/anonymoustoken.zep.c
	phady/security/core/authentication/token/remembermetoken.zep.c
	phady/security/core/authentication/token/storage/tokenstorage.zep.c
	phady/security/core/authentication/token/usernamepasswordtoken.zep.c
	phady/security/core/authenticationevents.zep.c
	phady/security/core/authorization/accessdecisionmanager.zep.c
	phady/security/core/authorization/authorizationchecker.zep.c
	phady/security/core/authorization/voter/abstractvoter.zep.c
	phady/security/core/authorization/voter/authenticatedvoter.zep.c
	phady/security/core/authorization/voter/rolehierarchyvoter.zep.c
	phady/security/core/encoder/bcryptpasswordencoder.zep.c
	phady/security/core/encoder/encoderawareinterface.zep.c
	phady/security/core/encoder/encoderfactory.zep.c
	phady/security/core/encoder/messagedigestpasswordencoder.zep.c
	phady/security/core/encoder/plaintextpasswordencoder.zep.c
	phady/security/core/exception/accessdeniedexception.zep.c
	phady/security/core/exception/accountexpiredexception.zep.c
	phady/security/core/exception/authenticationcredentialsnotfoundexception.zep.c
	phady/security/core/exception/badcredentialsexception.zep.c
	phady/security/core/exception/credentialsexpiredexception.zep.c
	phady/security/core/exception/disabledexception.zep.c
	phady/security/core/exception/insufficientauthenticationexception.zep.c
	phady/security/core/exception/invalidcsrftokenexception.zep.c
	phady/security/core/exception/lockedexception.zep.c
	phady/security/core/exception/logoutexception.zep.c
	phady/security/core/exception/providernotfoundexception.zep.c
	phady/security/core/exception/unsupporteduserexception.zep.c
	phady/security/core/exception/usernamenotfoundexception.zep.c
	phady/security/core/models/entities/actions.zep.c
	phady/security/core/models/entities/groups.zep.c
	phady/security/core/models/entities/modules.zep.c
	phady/security/core/models/entities/permissions.zep.c
	phady/security/core/models/entities/resources.zep.c
	phady/security/core/models/entities/user.zep.c
	phady/security/core/models/exception.zep.c
	phady/security/core/models/repositories/users.zep.c
	phady/security/core/role/rolehierarchyinterface.zep.c
	phady/security/core/role/switchuserrole.zep.c
	phady/security/core/security.zep.c
	phady/security/core/user/chainuserprovider.zep.c
	phady/security/core/user/equatableinterface.zep.c
	phady/security/core/user/factory/entityfactory.zep.c
	phady/security/core/user/factory/inmemoryfactory.zep.c
	phady/security/core/user/inmemoryuserprovider.zep.c
	phady/security/core/user/user.zep.c
	phady/security/core/user/userchecker.zep.c
	phady/security/eventlistener/securitylistener.zep.c
	phady/security/exception.zep.c
	phady/security/factory/formloginfactory.zep.c
	phady/security/firewall.zep.c
	phady/security/firewallcontext.zep.c
	phady/security/firewallmap.zep.c
	phady/security/http/accessmap.zep.c
	phady/security/http/authentication/defaultauthenticationfailurehandler.zep.c
	phady/security/http/authentication/defaultauthenticationsuccesshandler.zep.c
	phady/security/http/authorization/accessdeniedlistener.zep.c
	phady/security/http/entrypoint/formauthenticationentrypoint.zep.c
	phady/security/http/event/interactiveloginevent.zep.c
	phady/security/http/firewall/accesslistener.zep.c
	phady/security/http/firewall/anonymousauthenticationlistener.zep.c
	phady/security/http/firewall/channellistener.zep.c
	phady/security/http/firewall/contextlistener.zep.c
	phady/security/http/firewall/exceptionlistener.zep.c
	phady/security/http/firewall/logoutlistener.zep.c
	phady/security/http/firewall/usernamepasswordformauthenticationlistener.zep.c
	phady/security/http/firewallmap.zep.c
	phady/security/http/logout/defaultlogoutsuccesshandler.zep.c
	phady/security/http/logout/sessionlogouthandler.zep.c
	phady/security/http/securityevents.zep.c
	phady/security/phadyuserextension.zep.c
	phady/security/securityextension.zep.c
	phady/util/datetime.zep.c
	phady/util/file.zep.c
	phady/util/model.zep.c
	phady/util/out.zep.c
	phady/util/random.zep.c
	phady/util/text.zep.c
	phady/util/tools.zep.c
	phady/util/uuid.zep.c
	phady/version.zep.c
	phady/0__closure.zep.c
	phady/1__closure.zep.c
	phady/2__closure.zep.c
	phady/3__closure.zep.c
	phady/4__closure.zep.c
	phady/5__closure.zep.c
	phady/6__closure.zep.c
	phady/7__closure.zep.c
	phady/8__closure.zep.c
	phady/9__closure.zep.c
	phady/10__closure.zep.c
	phady/11__closure.zep.c
	phady/12__closure.zep.c
	phady/13__closure.zep.c
	phady/14__closure.zep.c
	phady/15__closure.zep.c
	phady/16__closure.zep.c
	phady/17__closure.zep.c
	phady/18__closure.zep.c
	phady/19__closure.zep.c
	phady/20__closure.zep.c
	phady/21__closure.zep.c
	phady/22__closure.zep.c
	phady/23__closure.zep.c
	phady/24__closure.zep.c
	phady/25__closure.zep.c
	phady/26__closure.zep.c
	phady/27__closure.zep.c
	phady/28__closure.zep.c
	phady/29__closure.zep.c
	phady/30__closure.zep.c
	phady/31__closure.zep.c
	phady/32__closure.zep.c
	phady/33__closure.zep.c
	phady/34__closure.zep.c
	phady/35__closure.zep.c
	phady/36__closure.zep.c
	phady/37__closure.zep.c
	phady/38__closure.zep.c "
	PHP_NEW_EXTENSION(phady, $phady_sources, $ext_shared,, )
	PHP_SUBST(PHADY_SHARED_LIBADD)

	old_CPPFLAGS=$CPPFLAGS
	CPPFLAGS="$CPPFLAGS $INCLUDES"

	AC_CHECK_DECL(
		[HAVE_BUNDLED_PCRE],
		[
			AC_CHECK_HEADERS(
				[ext/pcre/php_pcre.h],
				[
					PHP_ADD_EXTENSION_DEP([phady], [pcre])
					AC_DEFINE([ZEPHIR_USE_PHP_PCRE], [1], [Whether PHP pcre extension is present at compile time])
				],
				,
				[[#include "main/php.h"]]
			)
		],
		,
		[[#include "php_config.h"]]
	)

	AC_CHECK_DECL(
		[HAVE_JSON],
		[
			AC_CHECK_HEADERS(
				[ext/json/php_json.h],
				[
					PHP_ADD_EXTENSION_DEP([phady], [json])
					AC_DEFINE([ZEPHIR_USE_PHP_JSON], [1], [Whether PHP json extension is present at compile time])
				],
				,
				[[#include "main/php.h"]]
			)
		],
		,
		[[#include "php_config.h"]]
	)

	CPPFLAGS=$old_CPPFLAGS

	PHP_INSTALL_HEADERS([ext/phady], [php_PHADY.h])

fi

For more information send a message to info at phpclasses dot org.