27 Commits

Author SHA1 Message Date
Michael Maclean ea59625d02 Remove broken "fix" for build issues with newer libtool 2010-05-24 18:00:11 +00:00
Elizabeth Marie Smith f28525ba90 fixes for ubuntu and libtool issues - thanks mgdm and marcel esser 2010-03-07 19:22:46 +00:00
Andrei Zmievski fd082f0c77 Make cross-shell compatible. 2007-02-05 17:14:43 +00:00
Anant Narayanan 2cdb1d079a Revert to ugly matching 2007-02-03 12:57:41 +00:00
Anant Narayanan 0a98640dbb Simplify expansion to expr 2007-02-02 20:43:20 +00:00
Anant Narayanan eb45bb76e1 Make Bourne Shell compatible 2007-02-02 19:02:14 +00:00
Anant Narayanan d7e9323da7 Make script not specific to BASH 2007-02-02 18:30:09 +00:00
Anant Narayanan e8d8cbd922 Make sure the gtk+ extension builds before anything else. 2007-02-01 09:50:12 +00:00
Anant Narayanan 1fdca1ba91 Allow nested extension directories 2006-09-27 21:42:18 +00:00
Andrei Zmievski 3ee388ff47 Re-generate configure when config.m4 changes. 2005-10-10 18:34:39 +00:00
foobar f48b23e684 - Fixed buildconf. (phpize creates these) 2005-09-12 17:01:08 +00:00
foobar ec8e637055 - Merged ext/gtk+/config0.m4 and php_gtk.m4
- Moved all calls of macros and such from php_gtk.m4 to config.m4
  and ext/gtk+/config.m4 files
- Nuked unnecessary creation of ext.m4
- Bye bye aclocal: aclocal.m4 is generated "manually" by concatenating
  acinclude.m4, build/libtool.m4 and php_gtk.m4
2005-09-03 00:40:16 +00:00
Andrei Zmievski ab908e0f61 aclocal.m4 depends on ext.m4. 2005-04-22 20:15:44 +00:00
foobar 487219e3df - Added cvsclean script
- Fixed buildconf with new phpize which does not run aclocal anymore
# The problem is actually with multiple versions of auto* tools.
# Best way to fix that once and for all is to get totally rid of the
# aclocal requirement. :)
# There is a reason why all automake crap was removed in PHP..
2005-04-18 10:48:31 +00:00
Andrei Zmievski e97a2594dd Some modifications to the build system to avoid aclocal problems. 2005-03-24 04:52:45 +00:00
Andrei Zmievski 3f268ff8cc We do need to run aclocal to rebuild configure in case php_gtk.m4 or
other .m4 files changed.
2005-02-03 07:35:04 +00:00
Andrei Zmievski 8b02e5efb1 Use $PHPIZE. 2005-01-17 18:06:41 +00:00
Andrei Zmievski 32f7a463a0 - No longer need two versions of php_gtk.m4 as PHP 4 has only one build
system.
- Start using external aclocal macros for Gtk+ checks. This requires
  gathering all extension config.m4 files and configure.in into
  configure.ac, because aclocal won't find them otherwise. This might
  result in a warning from aclocal too but it's okay for now.
2003-12-06 20:47:11 +00:00
Andrei Zmievski 71767c7d5c Use standard 'if' syntax (patch from Alan). 2002-04-17 13:39:08 +00:00
Andrei Zmievski 4d3184b25a Some build system fixes. 2002-04-15 21:04:56 +00:00
Andrei Zmievski 9b1cd4cac7 This mega-patch adjusts the build system so that it can work automatically
with either old or new PHP build system. It also updates copyright years
and fixes loading of rc files by test/gtk.php.

Extension writers should take notice of the changes in the build system.
2002-04-11 02:19:50 +00:00
Andrei Zmievski 84c612080f Implemented ability to build shared extensions. 2001-11-20 20:36:32 +00:00
Andrei Zmievski bfb9d2ebb5 - Remove erroneous glade_init() call from php_scintilla.c.
- Fix comparison test in genext.sh.
- Make sure that ext/gtk+ always comes first in compilation.
2001-08-14 21:04:18 +00:00
Andrei Zmievski a421b9ca1f - Fixed a couple of build issues.
- Fixed a problem where extensions other than gtk+ would not have properly
  registered base classes.
- Added initial support for GtkScintilla text editing widget.
2001-08-11 05:42:41 +00:00
Andrei Zmievski 8ae066e3fb - Fix config.h.in generation.
- Changed GtkWidget::state() method to GtkWidget->state property.
- Removed GtkWidget::get_allocation(), it is redundant with GtkWidget->allocation
  property present.
- Implemented support for struct based classes (GdkRectable, GtkAllocation,
  GtkRequisition, etc).

0.1 is on the horizon.
2001-07-31 05:27:01 +00:00
Andrei Zmievski f877308055 Adjust some file locations and remove redundant ELS_FETCH(). 2001-07-10 21:19:03 +00:00
Andrei Zmievski 011a76e8e4 This implements a new build system for PHP-GTK. It is based on PHP build
system and is necessary in order to keep adding support for GtkObject
based extensions such as GtkHtml, Bonobo, GtkScintilla and others.

The only currently implemented extensions are Gtk+ and libglade. Each
extension (except for Gtk+, obviously) can be enabled or disabled
from the 'configure' command-line.

The new build process for CVS versions of PHP-GTK is such:

./buildconf
./configure
make
2001-07-10 18:27:52 +00:00