Browse files

finally got the hello world to compile

  • Loading branch information...
1 parent 58a647a commit eddaecaecf492e82705b6c642873c9f880a7c953 @sugendran sugendran committed Nov 16, 2012
Showing with 20 additions and 6 deletions.
  1. +2 −1 .gitignore
  2. +15 −1 README.md
  3. +2 −3 config.m4
  4. +1 −1 config.w32
View
3 .gitignore
@@ -32,4 +32,5 @@
/libtool
/Makefile
/Makefile.fragments
-/Makefile.objects
+/Makefile.objects
+/.libs/
View
16 README.md
@@ -1,4 +1,18 @@
graphdat-sdk-php
================
-PHP Extension for graphdat
+PHP Extension for graphdat
+
+Steps to build
+===============
+configure your php build with the following two flags
+--enable-maintainer-zts --enable-debug
+then run
+phpize
+make
+
+
+References
+===========
+http://devzone.zend.com/303/extension-writing-part-i-introduction-to-php-and-zend/
+http://www.tuxradar.com/practicalphp/20/3/0
View
5 config.m4
@@ -13,9 +13,8 @@ dnl [ --with-graphdat Include graphdat support])
dnl Otherwise use enable:
-dnl PHP_ARG_ENABLE(graphdat, whether to enable graphdat support,
-dnl Make sure that the comment is aligned:
-dnl [ --enable-graphdat Enable graphdat support])
+PHP_ARG_ENABLE(graphdat, whether to enable Graphdat support,
+ [ --enable-graphdat Enable Graphdat support])
if test "$PHP_GRAPHDAT" != "no"; then
dnl Write more examples of tests here...
View
2 config.w32
@@ -5,7 +5,7 @@
// ARG_WITH("graphdat", "for graphdat support", "no");
// Otherwise, use ARG_ENABLE
-// ARG_ENABLE("graphdat", "enable graphdat support", "no");
+ARG_ENABLE("graphdat", "enable graphdat support", "no");
if (PHP_GRAPHDAT != "no") {
EXTENSION("graphdat", "graphdat.c");

0 comments on commit eddaeca

Please sign in to comment.