(AC_FUNC_MEMCMP): Remove int main () {' and the trailing }',

since AC_LANG_PROGRAM provides them.
This commit is contained in:
Jim Meyering 2001-04-22 12:50:07 +00:00
parent dff7a1b5c3
commit acb55c4349
2 changed files with 2 additions and 8 deletions

View File

@ -733,9 +733,6 @@ fi
AC_DEFUN([AC_FUNC_MEMCMP],
[AC_CACHE_CHECK([for working memcmp], ac_cv_func_memcmp_working,
[AC_RUN_IFELSE([AC_LANG_PROGRAM([], [[
int
main ()
{
/* Some versions of memcmp are not 8-bit clean. */
char c0 = 0x40, c1 = 0x80, c2 = 0x81;
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
@ -759,7 +756,7 @@ main ()
}
exit (0);
}
}]])],
]])],
[ac_cv_func_memcmp_working=yes],
[ac_cv_func_memcmp_working=no],
[ac_cv_func_memcmp_working=no])])

View File

@ -733,9 +733,6 @@ fi
AC_DEFUN([AC_FUNC_MEMCMP],
[AC_CACHE_CHECK([for working memcmp], ac_cv_func_memcmp_working,
[AC_RUN_IFELSE([AC_LANG_PROGRAM([], [[
int
main ()
{
/* Some versions of memcmp are not 8-bit clean. */
char c0 = 0x40, c1 = 0x80, c2 = 0x81;
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
@ -759,7 +756,7 @@ main ()
}
exit (0);
}
}]])],
]])],
[ac_cv_func_memcmp_working=yes],
[ac_cv_func_memcmp_working=no],
[ac_cv_func_memcmp_working=no])])