Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 551862 Details for
Bug 669018
app-crypt/mit-krb5-1.16.1: USE flags for dependencies asm and cmocka missing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to src/configure.in in order to allow additional configure flags and dependencies
mit-krb5-configure.in.patch (text/plain), 1.84 KB, created by
Jon Daniel
on 2018-10-19 19:10:18 UTC
(
hide
)
Description:
patch to src/configure.in in order to allow additional configure flags and dependencies
Filename:
MIME Type:
Creator:
Jon Daniel
Created:
2018-10-19 19:10:18 UTC
Size:
1.84 KB
patch
obsolete
>--- src/configure.in.orig 2018-10-19 18:31:16.241942561 +0000 >+++ src/configure.in 2018-10-19 18:33:50.906508442 +0000 >@@ -1091,23 +1091,43 @@ > fi > AC_SUBST(HAVE_PYTHON) > >+ >+ > # For cmocka tests. > CMOCKA_LIBS= > HAVE_CMOCKA=no > HAVE_CMOCKA_H=no > HAVE_CMOCKA_LIB=no >-AC_CHECK_HEADER(cmocka.h, [HAVE_CMOCKA_H=yes], :, [ >-#include <stdarg.h> >-#include <stddef.h> >-#include <setjmp.h> ]) >-AC_CHECK_LIB(cmocka, _cmocka_run_group_tests, [HAVE_CMOCKA_LIB=yes]) >-if test "$HAVE_CMOCKA_LIB" = yes && test "$HAVE_CMOCKA_H" = yes; then >- HAVE_CMOCKA=yes >- CMOCKA_LIBS='-lcmocka' >- AC_DEFINE([HAVE_CMOCKA],1,[Define if cmocka library is available.]) >+AC_ARG_ENABLE([cmocka], >+AC_HELP_STRING([--disable-cmocka], [disable cmocka support]), >+ [], [enable_cmocka=check]) >+if test "$enable_cmocka" != no; then >+ AC_DEFINE(ENABLE_CMOCKA, 1, >+ [Define if cmocka library should be used.], >+ [cmocka_enabled=yes]) >+ >+ AC_CHECK_HEADER(cmocka.h, [HAVE_CMOCKA_H=yes], :, [ >+ #include <stdarg.h> >+ #include <stddef.h> >+ #include <setjmp.h> ]) >+ AC_CHECK_LIB(cmocka, _cmocka_run_group_tests, [HAVE_CMOCKA_LIB=yes]) >+ if test "$HAVE_CMOCKA_LIB" = yes && test "$HAVE_CMOCKA_H" = yes; then >+ HAVE_CMOCKA=yes >+ CMOCKA_LIBS='-lcmocka' >+ AC_DEFINE([HAVE_CMOCKA],1,[Define if cmocka library is available.]) >+ else >+ cmocka_enabled=no >+ fi >+ AC_SUBST(HAVE_CMOCKA) >+ AC_SUBST(CMOCKA_LIBS) >+ >+ # Error out if --enable-cmocka was explicitly requested but can't be enabled. >+ if test "$enable_cmocka" = yes; then >+ if test "$cmocka_enabled" != yes; then >+ AC_MSG_ERROR([cmocka support requested but cannot be built]) >+ fi >+ fi > fi >-AC_SUBST(HAVE_CMOCKA) >-AC_SUBST(CMOCKA_LIBS) > > # For URI lookup tests. Requires resolv_wrapper >= 1.1.5 for URI > # support.
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 669018
:
551858
| 551862 |
551864
|
552208