Commit Graph

42 Commits

Author SHA1 Message Date
Sascha Schumann
5eb451ff18 Remove .libs from .cvsignores, except /. 2002-03-07 14:57:15 +00:00
Sascha Schumann
9d9d39a0de Please welcome the new build system.
If you encounter any problems, please make sure to email sas@php.net
directly.

An introduction can be found on

http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
foobar
a41ee123df Some whitespace fixes (naugthy me :) and make use of PHP_CHECK_LIBRARY
macro instead of AC_CHECK_LIB.

# Better not touch LIBS anywhere. It might cause unexpected build problems
# if someone forgets to set it back in some config.m4..
2002-01-08 17:51:08 +00:00
foobar
14152e7ca6 Introduce the good practise of using [] around output messages. 2001-09-06 21:05:57 +00:00
Andrei Zmievski
4e857ef2d3 Changed ext_skel to use zend_parse_parameters() for argument parsing in
the generated functions. This cuts down on code a lot.

The point before this change was tagged BEFORE_PARAM_PARSING_CHANGE.
2001-08-11 03:24:23 +00:00
Joey Smith
c2e983709a I just got annoyed by this, eventually. :) 2001-07-19 23:36:37 +00:00
foobar
c72bac335d A little typo here.. :) 2001-06-24 22:00:45 +00:00
Hartmut Holzgraefe
06d498473e added generation of CREDITS and EXPERIMENTAL to ext_skel 2001-05-02 23:33:21 +00:00
Hartmut Holzgraefe
6e883e9e32 looks like i missed something 2001-05-01 19:15:43 +00:00
Hartmut Holzgraefe
ba5ae96cb4 some more example code for modules using --with-something
works for me (linux/bash) but please give it a test drive
2001-04-30 19:06:26 +00:00
Sascha Schumann
ea251e82e1 Fix ext_skel on Solaris
Submitted by: Sam Liddicott <sam.liddicott@ananova.com>
2000-12-07 10:03:21 +00:00
Sascha Schumann
8e3abe8946 Get rid of HAVE_EXTNAME. This dates back to PHP 3 where source files
were unconditionally compiled. It is not necessary in PHP 4.
2000-12-01 14:56:30 +00:00
Sascha Schumann
a1510f90b0 Remove *.o 2000-12-01 12:14:30 +00:00
Hartmut Holzgraefe
b17451635d added a regression test skeleton file
plus a partintro in xml documentation template
2000-10-23 07:31:31 +00:00
Rasmus Lerdorf
9f2cd78e67 Small portability fix 2000-08-04 02:23:28 +00:00
Rasmus Lerdorf
3bca4e220d Make ext_skel create a Makefile.in set up to handle shared extension
support automatically
@ Make ext_skel create a Makefile.in set up to handle shared extension
@ support automatically (Rasmus)
2000-07-27 17:56:02 +00:00
Rasmus Lerdorf
246999a51f Tiny wording fix 2000-07-16 18:51:00 +00:00
Sascha Schumann
f34c1fbee2 Make script work on POSIX sh 2000-07-04 05:15:33 +00:00
Jouni Ahto
495a957c99 - Fixed incorrect code generated when all parameters are optional.
- Fixed handling of grouped optional parameters.
- Added an option to generate xml documentation.
- Added an option not to be nice and helpful and create all kinds
  of comments and testing functions.
- Added on option to create function stubs only.
- Added options --assing-params and --string-lens that change
  the generated code.
- Updated documentation.
2000-06-15 01:57:23 +00:00
Jouni Ahto
d64c9d2823 - Avoid generating unnecessary switch statemets.
- Add a test if argument was given (if it is optional) before trying to
  fetch a resource and a note that something should be done if it wasn't.
- Some cosmetic fixes in the code generated.
- Some other small fixes in the code generated, already forgotten.
2000-06-11 01:25:16 +00:00
Jouni Ahto
f3c1222da3 - Fix typos, add default case to switch and other small things. 2000-06-10 05:47:22 +00:00
Jouni Ahto
b54f915280 - Automatically generate C code to handle arguments passed to a PHP function
based on function proto.
# Very cool! Try yourself, put for example the following line in file funcs:
# bool drawtext(string text, resource font, int x, int y [, resource color])
# and then run ./ext_skel foobar /full/path/to/funcs and then look at
# foobar.c...
2000-06-10 03:53:11 +00:00
Jouni Ahto
420d668f33 - Cosmetic changes.
- Optionally, create function entries, stubs and declarations from names
  listed in a file.
2000-06-09 18:04:17 +00:00
Jouni Ahto
62adbfc521 - Changed user instructions. 2000-06-09 14:46:15 +00:00
Jouni Ahto
216067b63f - As Sascha requested. 2000-06-09 03:38:37 +00:00
Sascha Schumann
a481fddfb3 Improved in-tree shared libraries build system
The following new/revived shared modules are available now:

  ... MySQL (*)
  ... PCRE (*)
  ... Session
  ... SWF

  (*) capable of using bundled library or external library

All changes:

  The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
  This effectively means that all extensions have to use dynlib.

  ext/mysql/config.m4 was revamped.
  Uses LIB_BUILD for building bundled library.

  ext/pcre/config.m4 was revamped.
  Uses LIB_BUILD for building bundled library.

  ext/ext_skel was changed to reflect that more modules should be
  compileable as shared module.

  ext/Makefile.in has been simplified enormously.

  Dependencies are now stored in the build tree.

  Empty dependencies are not generated by buildconf anymore. They
  are now dynamically created during the build process.

  Implicit rules for .S were removed.

  The NO_RECURSION feature was removed.

  "libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
Sascha Schumann
8d19edc495 Overall UNIX build system improvements:
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
  (fixes Tru64 support)
* VPATH does not contain variables anymore
  (fixes UnixWare support)
2000-04-30 03:10:34 +00:00
Sascha Schumann
1f822b98ce Welcome PHP_ARG_ENABLE and PHP_ARG_WITH. They are there to replace the common
AC_MSG_CHECKING, AC_ARG_[ENABLE,WITH], AC_MSG_RESULT trio.
2000-03-27 23:33:38 +00:00
Sascha Schumann
0cc5c94b37 Generate better skeleton config.m4 2000-03-27 22:52:48 +00:00
Sascha Schumann
2c99bef442 Get rid of config.h.stub. Note that you should embed a comment about
what the respective define does into the AC_DEFINE macro. I.e.

AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa Integration of -ng changes. Changes:
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
  (libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Sascha Schumann
bad23a1286 Remove INCLUDES line from Makefile.am skeleton 1999-11-28 00:55:39 +00:00
Sascha Schumann
36ff78d232 Add help to get people started. 1999-10-07 19:53:20 +00:00
Andrei Zmievski
718351f882 Ignore generated files. 1999-10-07 13:53:35 +00:00
Sascha Schumann
232afa4816 * archive-based convenience libraries completely replaced
with libtool components

        * SAPI targets can enable thread-safe mode and define
          shared/static/program build target

        * all configure scripts use the same config.cache

        * phplibdir is $(top_builddir)/modules to avoid
          permission problems

        * sapi/*/Makefile.inc are gone

        * runpath handling cleaned up

        * top-level Makefile.in obsoleted through Makefile.am

        * --enable-versioning uses libtool's cleaner and more
          portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Andrey Hristov
375c85e27f I will follow portability guidelines.
I will follow portability guidelines.
I will follow portability guidelines.
I will follow...
1999-09-27 14:15:15 +00:00
Andrey Hristov
10591231ca Make it portable. 1999-09-27 14:05:18 +00:00
Stig Bakken
f67a9bdc52 moved dav, msql and oracle to ext/ 1999-04-21 22:49:16 +00:00
Stig Bakken
f9d169c812 create .cvsignore only once :-) 1999-04-21 21:13:40 +00:00
Stig Bakken
3a3e18728c create .cvsignore as well 1999-04-21 20:39:22 +00:00
Stig Bakken
9b3c1ca2c3 make config.h.stub as well 1999-04-21 16:23:47 +00:00
Sascha Schumann
8489ea5414 generates basic skeleton for new extension 1999-04-21 10:24:41 +00:00