version 1.2, 2002/01/08 15:44:25 |
version 1.3, 2003/03/15 21:23:53 |
|
|
dnl Local m4 macors for autoconf (used by sudo) |
dnl Local m4 macors for autoconf (used by sudo) |
dnl |
dnl |
dnl Copyright (c) 1994-1996,1998-2002 Todd C. Miller <Todd.Miller@courtesan.com> |
dnl Copyright (c) 1994-1996,1998-2003 Todd C. Miller <Todd.Miller@courtesan.com> |
dnl |
dnl |
dnl XXX - should cache values in all cases!!! |
dnl XXX - should cache values in all cases!!! |
dnl |
dnl |
|
|
if ((f = fopen("conftestdata", "w")) == NULL) |
if ((f = fopen("conftestdata", "w")) == NULL) |
exit(1); |
exit(1); |
|
|
(void) sprintf(b, "%u", u); |
(void) sprintf(b, "%lu", (unsigned long) u); |
(void) fprintf(f, "%d\n", strlen(b)); |
(void) fprintf(f, "%d\n", strlen(b)); |
(void) fclose(f); |
(void) fclose(f); |
exit(0); |
exit(0); |