Some systems define __STDC__ and do not have a working const, some do not define the macro but do have a working const. Use AC_C_CONST to check for its presence. Signed-off-by: Guillem Jover <guillem@xxxxxxxxxxx> --- configure.ac | 1 + fsck/fsck.h | 1 - 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 7bf8bcd..f61102c 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,7 @@ AC_SUBST([usrlib_execdir]) AC_PROG_CC_STDC AC_GNU_SOURCE AC_CANONICAL_HOST +AC_C_CONST AC_C_BIGENDIAN dnl libtool-2 diff --git a/fsck/fsck.h b/fsck/fsck.h index 8a0f70e..45b7844 100644 --- a/fsck/fsck.h +++ b/fsck/fsck.h @@ -8,7 +8,6 @@ #define NOARGS void #else #define NOARGS -#define const #endif #ifdef __GNUC__ -- 1.6.4.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html