diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f23a10e8..6b4a0378 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1696,7 +1696,19 @@ AS_VAR_IF([mhd_cv_macro___func___avail], ["yes"], | |||
1696 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stddef.h>]],[[const char *funcname = __FUNCTION__ ; if (NULL == funcname) return 1;]])], | 1696 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stddef.h>]],[[const char *funcname = __FUNCTION__ ; if (NULL == funcname) return 1;]])], |
1697 | [[mhd_cv_macro___function___avail="yes"]],[[mhd_cv_macro___function___avail="no"]]) | 1697 | [[mhd_cv_macro___function___avail="yes"]],[[mhd_cv_macro___function___avail="no"]]) |
1698 | ]) | 1698 | ]) |
1699 | AC_DEFINE([HAVE___FUNCTION__], [1], [Define to 1 if your compiler supports __FUNCTION__ magic-macro.]) | 1699 | AS_VAR_IF([mhd_cv_macro___function___avail], ["yes"], |
1700 | [AC_DEFINE([HAVE___FUNCTION__], [1], [Define to 1 if your compiler supports __FUNCTION__ magic-macro.])], | ||
1701 | [ | ||
1702 | AC_CACHE_CHECK([[whether __PRETTY_FUNCTION__ magic-macro is available]], | ||
1703 | [[mhd_cv_macro___pretty_function___avail]], [dnl | ||
1704 | AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stddef.h>]],[[const char *funcname = __PRETTY_FUNCTION__ ; if (NULL == funcname) return 1;]])], | ||
1705 | [[mhd_cv_macro___pretty_function___avail="yes"]],[[mhd_cv_macro___pretty_function___avail="no"]]) | ||
1706 | ]) | ||
1707 | AS_VAR_IF([mhd_cv_macro___pretty_function___avail], ["yes"], | ||
1708 | [AC_DEFINE([HAVE___PRETTY_FUNCTION__], [1], [Define to 1 if your compiler supports __PRETTY_FUNCTION__ magic-macro.])], | ||
1709 | ) | ||
1710 | ] | ||
1711 | ) | ||
1700 | ] | 1712 | ] |
1701 | ) | 1713 | ) |
1702 | AC_CACHE_CHECK([[whether __builtin_bswap32() is available]], | 1714 | AC_CACHE_CHECK([[whether __builtin_bswap32() is available]], |