and a new option --date for human-readable times. rtcwake does not support
RTC_ALM_READ and RTC_ALM_SET fallbacks any more.
+The util-linux code is possible rebuild with --disable-assert now.
+
Stable maintenance releases between v2.26 and v2.27
---------------------------------------------------
UL_SET_ARCH([HPPA], [hppa*])
AC_SYS_LARGEFILE
+AC_HEADER_ASSERT
dnl Don't forget to maintain alternatively allowed versions in autogen.sh!
AM_GNU_GETTEXT_VERSION([0.18.3])
#include <string.h>
#include <errno.h>
+#include <assert.h>
+
#ifdef HAVE_ERR_H
# include <err.h>
#endif
#include <sys/types.h>
#include <unistd.h>
-
#include "c.h"
#include "libfdisk.h"
#include <stdio.h>
#include <stdarg.h>
-/* features */
-#define CONFIG_LIBFDISK_ASSERT
-
-#ifdef CONFIG_LIBFDISK_ASSERT
-#include <assert.h>
-#endif
-
/*
* Debug
*/
static const char *lib_version = LIBFDISK_VERSION;
static const char *lib_features[] = {
-#ifdef CONFIG_LIBFDISK_ASSERT
+#if !defined(NDEBUG) /* libc assert.h stuff */
"assert",
#endif
"debug", /* always enabled */
#include "debug.h"
#include "libmount.h"
-/* features */
-#define CONFIG_LIBMOUNT_ASSERT
-
-#ifdef CONFIG_LIBMOUNT_ASSERT
-# include <assert.h>
-#else
-# define assert(x)
-#endif
-
/*
* Debug
*/
#ifdef HAVE_SMACK
"smack",
#endif
-#ifdef CONFIG_LIBMOUNT_ASSERT
- "assert",
+#if !defined(NDEBUG)
+ "assert", /* libc assert.h stuff */
#endif
"debug", /* always enabled */
NULL
#include "libsmartcols.h"
-/* features */
-#define CONFIG_LIBSMARTCOLS_ASSERT
-
-#ifdef CONFIG_LIBSMARTCOLS_ASSERT
-# include <assert.h>
-#else
-# define assert(x)
-#endif
-
/*
* Debug
*/