summaryrefslogtreecommitdiff
path: root/m4/memcmp.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-02-08 15:16:42 +0000
committerJim Meyering <jim@meyering.net>2000-02-08 15:16:42 +0000
commit9936c270a7c1ffcb73211688934be1b0edf88117 (patch)
treee3269dd1413bd73ee3b459a9e5bb783502ddfa56 /m4/memcmp.m4
parent0c0a8f7180b742d27fc98748e595ab1185b4f22a (diff)
downloadcoreutils-9936c270a7c1ffcb73211688934be1b0edf88117.tar.xz
(jm_AC_FUNC_MEMCMP): Remove now-unnecessary use of changequote.
Add `int' for main.
Diffstat (limited to 'm4/memcmp.m4')
-rw-r--r--m4/memcmp.m411
1 files changed, 4 insertions, 7 deletions
diff --git a/m4/memcmp.m4 b/m4/memcmp.m4
index 1c08adc22..7fdfe9ad7 100644
--- a/m4/memcmp.m4
+++ b/m4/memcmp.m4
@@ -1,13 +1,12 @@
-#serial 3
+#serial 4
dnl A replacement for autoconf's AC_FUNC_MEMCMP that detects
dnl the losing memcmp on some x86 Next systems.
AC_DEFUN(jm_AC_FUNC_MEMCMP,
[AC_CACHE_CHECK([for working memcmp], jm_cv_func_memcmp_working,
[AC_TRY_RUN(
-changequote(<<, >>)dnl
-<<
-main()
+[int
+main ()
{
/* Some versions of memcmp are not 8-bit clean. */
char c0 = 0x40, c1 = 0x80, c2 = 0x81;
@@ -32,9 +31,7 @@ main()
}
exit (0);
}
-}
->>,
-changequote([, ])dnl
+}],
jm_cv_func_memcmp_working=yes,
jm_cv_func_memcmp_working=no,
jm_cv_func_memcmp_working=no)])