Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Now installing api headers

  • Loading branch information...
commit bff2acb0a6192f1714b0068aeea4f532cbb0770e 1 parent db3a9f9
mahcuz mahcuz authored

Showing 2 changed files with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. +0 5 TODO2
  2. +5 0 config.m4
5 TODO2
@@ -85,8 +85,3 @@ NTRVNRP - needs to return value not require parameter
85 85 Misc
86 86 ~~~~
87 87
88   -The config files need to use the PHP_INSTALL_HEADERS macro, a la PECL/Cairo,
89   -so that other extensions can make use of it. For some reason, a setup similar
90   -to that of PECL/Cairo does not work - I'm guessing it has something to do with
91   -PHP-GTK's build system.
92   -
5 config.m4
@@ -78,6 +78,11 @@ PHP_NEW_EXTENSION(php_gtk2, main/php_gtk.c main/phpg_support.c main/phpg_gtype.c
78 78
79 79 PHP_MODULES="$PHP_MODULES $PHP_GTK_MODULES"
80 80
  81 +EXT_PHPGTK_HEADERS="main/php_gtk_api.h"
  82 +ifdef([PHP_INSTALL_HEADERS], [
  83 + PHP_INSTALL_HEADERS(ext/php_gtk2, $EXT_PHPGTK_HEADERS)
  84 +])
  85 +
81 86 PHP_ADD_SOURCES_X(/main, php_gtk_ext.c,, shared_objects_php_gtk2)
82 87 PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/main/Makefile.frag, $abs_srcdir/main, main)
83 88

0 comments on commit bff2acb

Please sign in to comment.
Something went wrong with that request. Please try again.