+2009-04-19 Roland McGrath <roland@redhat.com>
+
+ * configure.ac (eu_version): Round down here, not in version.h macros.
+
2009-04-17 Roland McGrath <roland@redhat.com>
* configure.ac (eu_version): Compute number 1000 times larger,
+2009-04-19 Roland McGrath <roland@redhat.com>
+
+ * version.h.in: Revert last change.
+
2009-04-17 Roland McGrath <roland@redhat.com>
* version.h.in (_ELFUTILS_PREREQ): Multiple major by 1000000 and minor
/* Version information about elfutils development libraries.
- Copyright (C) 2008-2009 Red Hat, Inc.
+ Copyright (C) 2008 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
#define _ELFUTILS_VERSION @eu_version@
#define _ELFUTILS_PREREQ(major, minor) \
- ((_ELFUTILS_VERSION + 999) / 1000 >= ((major) * 1000 + (minor)))
+ (_ELFUTILS_VERSION >= ((major) * 1000 + (minor)))
#endif /* elfutils/version.h */
*) AC_MSG_ERROR([confused by version number '$PACKAGE_VERSION']) ;;
esac
+# Round up to the next release API (x.y) version.
+[eu_version=$[($eu_version + 999) / 1000]]
+
AC_OUTPUT