Commit 8d4b707b authored by Martti Mela's avatar Martti Mela
Browse files

removed nested function call when testing whether __func__ works (in sac-general.m4)

parent 5c8c815e
......@@ -345,9 +345,8 @@ AC_DEFUN([AC_C_VAR_FUNC],
AC_CACHE_CHECK(whether $CC recognizes __func__, ac_cv_c_var_func,
[int main() {
char *s = __func__;
[char *s = __func__;
ac_cv_c_var_func=yes, ac_cv_c_var_func=no))
if test $ac_cv_c_var_func = "yes"; then
AC_DEFINE([HAVE_FUNC], 1, [Define to 1 if the C compiler supports __func__])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment