Attempt to fix the merged build on OpenSuSE 10.2
authorVolker Lendecke <vl@samba.org>
Sat, 2 May 2009 10:53:30 +0000 (12:53 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 2 May 2009 11:14:14 +0000 (13:14 +0200)
Python.h 2.5 on that platform does not #include the necessary headers
to see uintptr_t.

m4/check_python.m4

index 94537663137c647f50d49ebe632265b1335c2a74..42eef19bd563d79ae99fcc1a6410b256f7c3e321 100644 (file)
@@ -17,6 +17,7 @@ AC_DEFUN([TRY_LINK_PYTHON],
                CFLAGS="$CFLAGS $2"
 
                AC_TRY_LINK([
                CFLAGS="$CFLAGS $2"
 
                AC_TRY_LINK([
+                                #undef HAVE_UINTPTR_T
                                /* we have our own configure tests */
                                #include <Python.h>
                        ],[
                                /* we have our own configure tests */
                                #include <Python.h>
                        ],[