Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 139388 Details for
Bug 198875
dev-python/pygobject-2.14.0 automagic dependency on libffi
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libffi.patch
libffi.patch (text/plain), 1.20 KB, created by
Ed Catmur
on 2007-12-27 11:02:07 UTC
(
hide
)
Description:
libffi.patch
Filename:
MIME Type:
Creator:
Ed Catmur
Created:
2007-12-27 11:02:07 UTC
Size:
1.20 KB
patch
obsolete
>--- pygobject-2.14.0/configure.ac 2007/11/12 00:09:09 1.1 >+++ pygobject-2.14.0/configure.ac 2007/11/12 00:22:35 >@@ -129,10 +129,26 @@ AC_SUBST([pygobject_CODEGEN_DEFINES]) > > dnl libffi > AC_MSG_CHECKING(for ffi.h) >-AC_TRY_CPP([#include <ffi.h>], pygobject_ffi_h=yes, pygobject_ffi_h=no) >-if test $pygobject_ffi_h = yes; then >- AC_DEFINE(HAVE_FFI_H,1,[Have ffi.h include file]) >- FFI_LIBS="-lffi" >+AC_ARG_WITH(libffi, >+ AC_HELP_STRING([--without-ffi], [Disable libffi support]), >+ with_ffi=$withval, >+ with_ffi=auto) >+if test x"$with_ffi" = xno ; then >+ pygobject_ffi_h=disabled >+else >+ AC_TRY_CPP([#include <ffi.h>], pygobject_ffi_h=yes, pygobject_ffi_h=no) >+ if test $pygobject_ffi_h = yes; then >+ AC_DEFINE(HAVE_FFI_H,1,[Have ffi.h include file]) >+ save_LIBS=$LIBS >+ if test x"$with_ffi" != xyes && test x"$with_ffi" != xauto; then >+ LIBS=$with_ffi >+ fi >+ AC_SEARCH_LIBS(ffi_call,ffi,FFI_LIBS=$LIBS,AC_MSG_ERROR(libffi not found)) >+ LIBS=$save_LIBS >+ fi >+fi >+if test x"$with_ffi" != xauto && test x"$pygobject_ffi_h" != xyes ; then >+ AC_MSG_ERROR([libffi requested, but ffi.h not found]) > fi > AC_MSG_RESULT([$pygobject_ffi_h]) > AM_CONDITIONAL(HAVE_LIBFFI, test "$pygobject_ffi_h" = "yes")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198875
:
135783
|
135798
|
135800
|
135801
|
139380
|
139388
|
139389
|
139390