Server IP : 172.67.216.182 / Your IP : 162.158.190.97 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/php/80/src/ext/xsl/ |
Upload File : |
// vim: ft=javascript ARG_WITH("xsl", "xsl support", "no"); if (PHP_XSL != "no") { if (PHP_DOM == "yes" && PHP_LIBXML == "yes" && ADD_EXTENSION_DEP('xsl', 'libxml') && ADD_EXTENSION_DEP('xsl', 'dom') && CHECK_HEADER_ADD_INCLUDE("libxml/tree.h", "CFLAGS_XSL", PHP_PHP_BUILD + "\\include\\libxml2") ) { var ext_xsl_lib_found = false; var ext_exslt_lib_found = false; if (CHECK_LIB("libxslt_a.lib", "xsl", PHP_XSL)) { ext_xsl_lib_found = true; ADD_FLAG("CFLAGS_XSL", "/D LIBXSLT_STATIC "); if (CHECK_LIB("libexslt_a.lib", "xsl", PHP_XSL)) { ADD_FLAG("CFLAGS_XSL", "/D LIBEXSLT_STATIC "); ext_exslt_lib_found = true; } } else if (CHECK_LIB("libxslt.lib", "xsl", PHP_XSL)) { ext_xsl_lib_found = true; if (CHECK_LIB("libexslt.lib", "xsl", PHP_XSL)) { ext_exslt_lib_found = true; } } if (ext_xsl_lib_found && CHECK_HEADER_ADD_INCLUDE("libxslt\\xslt.h", "CFLAGS_XSL")) { if (ext_exslt_lib_found) { if (CHECK_HEADER_ADD_INCLUDE("libexslt\\exslt.h", "CFLAGS_XSL")) { AC_DEFINE("HAVE_XSL_EXSLT", 1, ""); } } EXTENSION("xsl", "php_xsl.c xsltprocessor.c", PHP_XSL_SHARED); AC_DEFINE("HAVE_XSL", 1, "Define if xsl extension is enabled"); if (! PHP_XSL_SHARED) { ADD_FLAG("CFLAGS_XSL", "/D DOM_EXPORTS /D LIBXML_STATIC"); } else { if (PHP_DEBUG == "yes") { ADD_FLAG("LDFLAGS_XSL", "/nodefaultlib:msvcrt"); } } } else { WARNING("xsl not enabled; libraries and headers not found"); } } else { WARNING("xsl not enabled; DOM extension required"); } }