internals:cmake:status
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
internals:cmake:status [2008/07/05 16:17] – added generated files post configure gloob | internals:cmake:status [2008/07/05 23:47] – added some php macros defined in acinclude.m4 part II gloob | ||
---|---|---|---|
Line 185: | Line 185: | ||
* PHP_VERSION=" | * PHP_VERSION=" | ||
* PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 10000 + [$]PHP_MINOR_VERSION \* 100 + [$]PHP_RELEASE_VERSION` | * PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 10000 + [$]PHP_MINOR_VERSION \* 100 + [$]PHP_RELEASE_VERSION` | ||
+ | |||
+ | |||
+ | ==== Extension PHP Macros ==== | ||
+ | |||
+ | * PHP_ARG_WITH() | ||
+ | * PHP_ARG_ENABLE() | ||
+ | * PHP_ADD_INCLUDE() | ||
+ | * PHP_CHECK_LIBRARY() | ||
+ | * PHP_ADD_LIBRARY_WITH_PATH() | ||
+ | * PHP_SUBST() | ||
+ | * PHP_NEW_EXTENSION() | ||
+ | * PHP_ADD_BUILD_DIR() | ||
+ | * PHP_ADD_MAKEFILE_FRAGMENT() | ||
+ | |||
+ | ==== acinclude.m4 Macros ==== | ||
+ | |||
+ | === Output stylize macros for configure (help/ | ||
+ | |||
+ | * < | ||
+ | * < | ||
+ | |||
+ | === Build system helper macros === | ||
+ | |||
+ | * PHP_DEF_HAVE(what) - Generates ' | ||
+ | * PHP_RUN_ONCE(namespace, | ||
+ | * < | ||
+ | * PHP_DEFINE(WHAT [, value[, directory]]) - Creates builddir/ | ||
+ | * PHP_SUBST(varname) - Adds variable with it's value into Makefile, e.g.: CC = gcc | ||
+ | * PHP_SUBST_OLD(varname) - Same as PHP_SUBST() but also substitutes all @VARNAME@ instances in every file passed to AC_OUTPUT() | ||
+ | * PHP_OUTPUT(file) - Adds " | ||
+ | |||
+ | === Build system base macros === | ||
+ | |||
+ | * < | ||
+ | * < | ||
+ | * PHP_GEN_GLOBAL_MAKEFILE | ||
+ | * PHP_ADD_MAKEFILE_FRAGMENT([srcfile [, ext_srcdir [, ext_builddir]]]) | ||
+ | * PHP_ADD_SOURCES(source-path, | ||
+ | | ||
+ | === Compiler characteristics checks === | ||
+ | |||
+ | * PHP_TARGET_RDYNAMIC - Checks whether -rdynamic is supported by the compiler. | ||
+ | * PHP_RUNPATH_SWITCH - Checks for -R, etc. switch. | ||
+ | * PHP_CHECK_GCC_ARG(arg, | ||
+ | * PHP_LIBGCC_LIBPATH(gcc) - Stores the location of libgcc in libgcc_libpath | ||
+ | |||
+ | === Macros to modify LIBS, INCLUDES, etc. variables === | ||
+ | |||
+ | * PHP_REMOVE_USR_LIB(NAME) - Removes all -L/ | ||
+ | * PHP_EVAL_LIBLINE(libline, | ||
+ | * PHP_EVAL_INCLINE(headerline) - Use this macro, if you need to add header search paths to the PHP build system which are only given in compiler notation. | ||
+ | * PHP_ADD_LIBPATH(path [, SHARED-LIBADD]) - Adds a path to linkpath/ | ||
+ | * PHP_UTILIZE_RPATHS() - builds RPATHS/ | ||
+ | * PHP_ADD_INCLUDE(path [,before]) - add an include path. if before is 1, add in the beginning of INCLUDES. | ||
+ | * PHP_ADD_LIBRARY(library[, | ||
+ | * PHP_ADD_LIBRARY_DEFER(library[, | ||
+ | * PHP_ADD_LIBRARY_WITH_PATH(library, | ||
+ | * PHP_ADD_LIBRARY_DEFER_WITH_PATH(library, | ||
+ | * PHP_ADD_FRAMEWORK(framework [,before]) - add a (Darwin / Mac OS X) framework to the link line. if before is 1, the framework is added to the beginning of the line. | ||
+ | * PHP_ADD_FRAMEWORKPATH(path [,before]) - add a (Darwin / Mac OS X) framework path to the link and include lines. default paths include (but are not limited to) / | ||
+ | * PHP_ADD_FRAMEWORK_WITH_PATH(framework, | ||
+ | * PHP_SET_LIBTOOL_VARIABLE(var) - Set libtool variable. | ||
+ | |||
+ | === Wrapper macros for AC_ARG_WITH / AC_ARG_ENABLE === | ||
+ | |||
+ | * PHP_ARG_WITH(arg-name, | ||
+ | * PHP_ARG_ENABLE(arg-name, | ||
+ | |||
+ | === Build macros === | ||
+ | |||
+ | * PHP_BUILD_THREAD_SAFE | ||
+ | * PHP_REQUIRE_CXX | ||
+ | * PHP_BUILD_SHARED | ||
+ | * PHP_BUILD_STATIC | ||
+ | * PHP_BUILD_BUNDLE | ||
+ | * PHP_BUILD_PROGRAM | ||
+ | * PHP_SHARED_MODULE(module-name, | ||
+ | * PHP_SELECT_SAPI(name, | ||
+ | * PHP_NEW_EXTENSION(extname, | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | " | ||
+ | * PHP_WITH_SHARED - Checks whether $withval is " | ||
+ | * PHP_ADD_EXTENSION_DEP(extname, | ||
+ | $1 = name of extension, $2 = extension upon which it depends | ||
+ | $3 = optional: if true, it's ok for $2 to have not been configured default is false and should halt the build. | ||
+ | |||
+ | === Checks for structures, typedefs, broken functions, etc. === | ||
+ | |||
+ | * _PHP_CHECK_SIZEOF(type, | ||
+ | * PHP_CHECK_SIZEOF(type, | ||
+ | * PHP_CHECK_TYPES(type-list, | ||
+ | * PHP_CHECK_IN_ADDR_T | ||
+ | * PHP_TIME_R_TYPE - Check type of reentrant time-related functions Type can be: irix, hpux or POSIX | ||
+ | * PHP_PWRITE_TEST | ||
+ | * PHP_PREAD_TEST | ||
+ | * PHP_MISSING_TIME_R_DECL | ||
+ | * PHP_READDIR_R_TYPE | ||
+ | * PHP_TM_GMTOFF | ||
+ | * PHP_STRUCT_FLOCK | ||
+ | * PHP_SOCKLEN_T | ||
+ | * PHP_MISSING_FCLOSE_DECL - See if we have broken header files like SunOS has. | ||
+ | * PHP_AC_BROKEN_SPRINTF - Check for broken sprintf(), C99 conformance | ||
+ | * PHP_AC_BROKEN_SNPRINTF - Check for broken snprintf(), C99 conformance | ||
+ | * PHP_SOLARIS_PIC_WEIRDNESS - Solaris requires main code to be position independent in order to let shared objects find symbols. | ||
+ | Must be run after all --with-NN options that let the user choose dynamic extensions, and after the gcc test. | ||
+ | * PHP_SYS_LFS - dnl The problem is that the default compilation flags in Solaris 2.6 won't let programs access large files; | ||
+ | * PHP_SOCKADDR_CHECKS | ||
+ | * PHP_DECLARED_TIMEZONE | ||
+ | * PHP_EBCDIC | ||
+ | * PHP_BROKEN_GETCWD - Some systems, notably Solaris, cause getcwd() or realpath to fail if a component of the path has execute but not read permissions | ||
+ | * PHP_BROKEN_GLIBC_FOPEN_APPEND | ||
+ | * PHP_FOPENCOOKIE | ||
+ | |||
+ | === Library/ | ||
+ | |||
+ | * PHP_CHECK_LIBRARY(library, | ||
+ | * PHP_CHECK_FRAMEWORK(framework, | ||
+ | * PHP_CHECK_FUNC_LIB(func, | ||
+ | * PHP_CHECK_FUNC(func, | ||
+ | * PHP_TEST_BUILD(function, | ||
+ | |||
+ | |||
+ | |||
internals/cmake/status.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1