projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'langinfo'.
[gnulib.git]
/
m4
/
gnulib-common.m4
diff --git
a/m4/gnulib-common.m4
b/m4/gnulib-common.m4
index
c8fda20
..
75da53d
100644
(file)
--- 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;
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 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
[ac_cv_c_restrict=$ac_kw])
test "$ac_cv_c_restrict" != no && break
done