summaryrefslogtreecommitdiff
path: root/m4/ax_c_arithmetic_rshift.m4
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2019-02-18 17:15:14 +0000
committerReuben Thomas <rrt@sc3d.org>2019-02-18 17:15:14 +0000
commit8a7d0fa32317ef0e41d830121dd40ac1ceb97948 (patch)
treeeed8ecc1eadccaaaf44f4729ae582066f231d666 /m4/ax_c_arithmetic_rshift.m4
parent2e5f29d4bdef4060d3cabf6e7d29b456ded2ca65 (diff)
downloadautoconf-archive-8a7d0fa32317ef0e41d830121dd40ac1ceb97948.tar.gz
ax_c_arithmetic_rshift.m4: add required call to AC_LANG_SOURCE
Diffstat (limited to 'm4/ax_c_arithmetic_rshift.m4')
-rw-r--r--m4/ax_c_arithmetic_rshift.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_c_arithmetic_rshift.m4 b/m4/ax_c_arithmetic_rshift.m4
index f72e507..f24e9fa 100644
--- a/m4/ax_c_arithmetic_rshift.m4
+++ b/m4/ax_c_arithmetic_rshift.m4
@@ -21,12 +21,12 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 9
+#serial 10
AC_DEFUN([AX_C_ARITHMETIC_RSHIFT], [
AC_CACHE_CHECK([whether right shift operation is arithmetic],
[ax_cv_c_arithmetic_rshift],
- [AC_COMPILE_IFELSE([[int dummy[((-1 >> 1) < 0) ? 1 : -1];]],
+ [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int dummy[((-1 >> 1) < 0) ? 1 : -1];]])],
[ax_cv_c_arithmetic_rshift=yes],
[ax_cv_c_arithmetic_rshift=no])])
if test "x$ax_cv_c_arithmetic_rshift" = xyes; then