gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Additional programs and language bindings branch, master, updated.


From: Daniele Forsi
Subject: [SCM] Additional programs and language bindings branch, master, updated. 20f6987463c0e092bdbeed1c063bc9f7b9a66799
Date: Sat, 12 Jun 2010 10:29:44 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Additional programs and language bindings".

The branch, master has been updated
       via  20f6987463c0e092bdbeed1c063bc9f7b9a66799 (commit)
      from  6b0574577b2d0c3923069ba13b43e5e90cd1e8f2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii/gnokii-extras.git/commit/?id=20f6987463c0e092bdbeed1c063bc9f7b9a66799


commit 20f6987463c0e092bdbeed1c063bc9f7b9a66799
Author: Daniele Forsi <address@hidden>
Date:   Sat Jun 12 12:25:42 2010 +0200

    Set CFLAGS to always find gnokii includes
    
    This makes the build succeed if gnokii includes are installed in a
    custom directory, not searched by default by the compiler, such
    when you installed libgnokii with a custom --prefix.

diff --git a/bindings/PHP/gnokii4php/ChangeLog 
b/bindings/PHP/gnokii4php/ChangeLog
index 764e6d4..ae4dd40 100644
--- a/bindings/PHP/gnokii4php/ChangeLog
+++ b/bindings/PHP/gnokii4php/ChangeLog
@@ -3,6 +3,9 @@
 * Examples
   o add getsmsname.php which searches in the phonebooks the name of the sender
     of text messages
+* Build system
+  o make build succeed if gnokii includes are in a directory not searched by
+    default by the compiler (ie set CFLAGS in config.m4)
 
 0.0.12
 ======
diff --git a/bindings/PHP/gnokii4php/config.m4 
b/bindings/PHP/gnokii4php/config.m4
index 1d53610..d64b708 100644
--- a/bindings/PHP/gnokii4php/config.m4
+++ b/bindings/PHP/gnokii4php/config.m4
@@ -6,6 +6,7 @@ PHP_ARG_ENABLE(gnokii, whether to enable gnokii support,
 if test "$PHP_GNOKII" = "yes"; then
   AC_DEFINE(HAVE_GNOKII, 1, [Whether you have gnokii])
   LDFLAGS="$(pkg-config --libs gnokii)"
+  CFLAGS="$(pkg-config --cflags gnokii)"
   PHP_NEW_EXTENSION(gnokii, gnokii.c libgnokii_const.c file.c monitor.c 
other.c phonebook.c sms.c, $ext_shared)
 fi
 

-----------------------------------------------------------------------

Summary of changes:
 bindings/PHP/gnokii4php/ChangeLog |    3 +++
 bindings/PHP/gnokii4php/config.m4 |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Additional programs and language bindings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]