davidg          Sun Mar 11 15:30:36 2001 EDT

  Modified files:              
    /php4/ext/midgard   attachment.c config.m4 config.m4.session 
  Log:
  added PHP_SUBST(MIDGARD_SHARED_LIB) to dynamically link against libmidgard in 
config.m4
  removed debug info in attachments
  
  
Index: php4/ext/midgard/attachment.c
diff -u php4/ext/midgard/attachment.c:1.9 php4/ext/midgard/attachment.c:1.10
--- php4/ext/midgard/attachment.c:1.9   Sun Mar 11 07:40:03 2001
+++ php4/ext/midgard/attachment.c       Sun Mar 11 15:30:36 2001
@@ -1,4 +1,4 @@
-/* $Id: attachment.c,v 1.9 2001/03/11 15:40:03 davidg Exp $
+/* $Id: attachment.c,v 1.10 2001/03/11 23:30:36 davidg Exp $
 Copyright (C) 1999 Jukka Zitting <[EMAIL PROTECTED]>
 Copyright (C) 2000 The Midgard Project ry
 Copyright (C) 2000 Emile Heyns, Aurora SA <[EMAIL PROTECTED]>
@@ -37,7 +37,6 @@
 {
 zval **table, **id;
 
-mgd_log_debug(0, "get_blob_id");
    if (self == NULL) {
       if (calltype) *calltype = MGD_BLOB_CALL_FUNC;
       if (name == NULL) return MGD_ERR_INVALID_NAME;
@@ -63,14 +62,10 @@
       convert_to_long_ex(id);
       return (*id)->value.lval;
    }
-mgd_log_debug(0, "before $s", (*table)->value.str.val);
 
    if (calltype) *calltype = MGD_BLOB_CALL_OTHER;
    if (name == NULL) return MGD_ERR_INVALID_NAME;
    convert_to_string_ex(name);
-mgd_log_debug(0, "before return: ptable=$q AND pid=$d AND name=$q",
-            (*table)->value.str.val, (*id)->value.lval,
-            (*name)->value.str.val);
    return mgd_exists_id(mgd_handle(), "blobs",
             "ptable=$q AND pid=$d AND name=$q",
             (*table)->value.str.val, (*id)->value.lval,
Index: php4/ext/midgard/config.m4
diff -u php4/ext/midgard/config.m4:1.11 php4/ext/midgard/config.m4:1.12
--- php4/ext/midgard/config.m4:1.11     Thu Mar  8 02:49:18 2001
+++ php4/ext/midgard/config.m4  Sun Mar 11 15:30:36 2001
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.11 2001/03/08 10:49:18 davidg Exp $
+dnl $Id: config.m4,v 1.12 2001/03/11 23:30:36 davidg Exp $
 
 dnl  Copyright (C) 1999 Jukka Zitting <[EMAIL PROTECTED]>
 dnl  Copyright (C) 2000 The Midgard Project ry
@@ -21,6 +21,8 @@
 AC_PROG_YACC
 AC_DECL_YYTEXT
 AC_PROG_LEX
+
+PHP_SUBST(MIDGARD_SHARED_LIB)
 
 PHP_ARG_WITH(midgard, for midgard support,
 [  --with-midgard          Include midgard 1.4 support])
Index: php4/ext/midgard/config.m4.session
diff -u php4/ext/midgard/config.m4.session:1.1 php4/ext/midgard/config.m4.session:1.2
--- php4/ext/midgard/config.m4.session:1.1      Thu Mar  8 02:39:31 2001
+++ php4/ext/midgard/config.m4.session  Sun Mar 11 15:30:36 2001
@@ -1,4 +1,4 @@
-dnl $Id: config.m4.session,v 1.1 2001/03/08 10:39:31 davidg Exp $
+dnl $Id: config.m4.session,v 1.2 2001/03/11 23:30:36 davidg Exp $
 
 dnl  Copyright (C) 1999 Jukka Zitting <[EMAIL PROTECTED]>
 dnl  Copyright (C) 2000 The Midgard Project ry
@@ -21,6 +21,8 @@
 AC_PROG_YACC
 AC_DECL_YYTEXT
 AC_PROG_LEX
+
+PHP_SUBST(MIDGARD_SHARED_LIB)
 
 PHP_ARG_WITH(midgard, for midgard support,
 [  --with-midgard          Include midgard 1.4 support])



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to