The branch, v4-0-test has been updated
       via  9391f6f80461be2b214a881782aecf7df8a4aba3 (commit)
      from  a3e1f2830679a56366f0080115de504cdb0144f7 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 9391f6f80461be2b214a881782aecf7df8a4aba3
Author: Stefan Metzmacher <[EMAIL PROTECTED]>
Date:   Thu Mar 13 14:27:10 2008 +0100

    configure: when detecting python we should disable pyconfig.h
    
    This fixes the detection on HP-UX where the pyconfig.h contains
    bogus defines.
    
    metze

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

Summary of changes:
 source/scripting/python/config.m4 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/scripting/python/config.m4 
b/source/scripting/python/config.m4
index 2142cd9..aac98eb 100644
--- a/source/scripting/python/config.m4
+++ b/source/scripting/python/config.m4
@@ -22,6 +22,8 @@ AC_DEFUN([TRY_LINK_PYTHON],
                CFLAGS="$CFLAGS $2"
 
                AC_TRY_LINK([
+                               /* we have our own configure tests */
+                               #define Py_PYCONFIG_H 1
                                #include <Python.h>
                                #include <stdlib.h>
                        ],[


-- 
Samba Shared Repository

Reply via email to