X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/20ccae8dbb8d92a6a32e0275c517f70961c6b833..1cd4fffcde4edd4853e039da9a42e0972d851a51:/m4/gnulib-common.m4 diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 index c8fda2033..75da53db0 100644 --- a/m4/gnulib-common.m4 +++ b/m4/gnulib-common.m4 @@ -70,13 +70,13 @@ AC_DEFUN([AC_C_RESTRICT], for ac_kw in __restrict __restrict__ _Restrict restrict; do AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [[typedef int * int_ptr; - int foo (int_ptr $ac_kw ip) { - return ip[0]; + int foo (int_ptr $ac_kw ip) { + return ip[0]; }]], [[int s[1]; - int * $ac_kw t = s; - t[0] = 0; - return foo(t)]])], + int * $ac_kw t = s; + t[0] = 0; + return foo(t)]])], [ac_cv_c_restrict=$ac_kw]) test "$ac_cv_c_restrict" != no && break done