python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / libsasl / patches / 0012-fix-ac_cv_names.patch
blob7097d44ddb89791d3ecd0ebd04ec1e85a812c7a7
1 --- a/saslauthd/configure.in 2015-11-20 16:22:07.295862770 +0100
2 +++ b/saslauthd/configure.in 2015-11-20 16:23:35.581855882 +0100
3 @@ -164,30 +164,30 @@
5 dnl Checks for which function macros exist
6 AC_MSG_CHECKING(whether $CC implements __func__)
7 -AC_CACHE_VAL(have_func,
8 +AC_CACHE_VAL(ac_cv_have_func,
9 [AC_TRY_LINK([#include <stdio.h>],[printf("%s", __func__);],
10 -have_func=yes,
11 -have_func=no)])
12 -AC_MSG_RESULT($have_func)
13 -if test "$have_func" = yes; then
14 +ac_cv_have_func=yes,
15 +ac_cv_have_func=no)])
16 +AC_MSG_RESULT($ac_cv_have_func)
17 +if test "$ac_cv_have_func" = yes; then
18 AC_DEFINE(HAVE_FUNC,[],[Does the compiler understand __func__])
19 else
20 AC_MSG_CHECKING(whether $CC implements __PRETTY_FUNCTION__)
21 - AC_CACHE_VAL(have_pretty_function,
22 + AC_CACHE_VAL(ac_cv_have_pretty_function,
23 [AC_TRY_LINK([#include <stdio.h>],[printf("%s", __PRETTY_FUNCTION__);],
24 - have_pretty_function=yes,
25 - have_pretty_function=no)])
26 - AC_MSG_RESULT($have_pretty_function)
27 - if test "$have_pretty_function" = yes; then
28 + ac_cv_have_pretty_function=yes,
29 + ac_cv_have_pretty_function=no)])
30 + AC_MSG_RESULT($ac_cv_have_pretty_function)
31 + if test "$ac_cv_have_pretty_function" = yes; then
32 AC_DEFINE(HAVE_PRETTY_FUNCTION,[],[Does compiler understand __PRETTY_FUNCTION__])
33 else
34 AC_MSG_CHECKING(whether $CC implements __FUNCTION__)
35 - AC_CACHE_VAL(have_function,
36 + AC_CACHE_VAL(ac_cv_have_function,
37 [AC_TRY_LINK([#include <stdio.h>],[printf("%s", __FUNCTION__);],
38 - have_function=yes,
39 - have_function=no)])
40 - AC_MSG_RESULT($have_function)
41 - if test "$have_function" = yes; then
42 + ac_cv_have_function=yes,
43 + ac_cv_have_function=no)])
44 + AC_MSG_RESULT($ac_cv_have_function)
45 + if test "$ac_cv_have_function" = yes; then
46 AC_DEFINE(HAVE_FUNCTION,[],[Does compiler understand __FUNCTION__])