Signed-off-by: Karel Zak <kzak@redhat.com>
#define TRACK_MULTIVOL 0x08
#define IGNORE_ERRORS 0x10
#define RESEEK 0x20
-#define ENABLE_CMDTAGQ 0x40
+#define CMDTAGQ_ENABLE 0x40
typedef struct {
unsigned int magic; /* expect SGI_LABEL_MAGIC */
[ ! -f "$srcfile" ] && continue;
+ # Note that we use HAVE_ macros since util-linux-ng-2.14. The
+ # previous version also have used ENABLE_ too.
+ #
+ # ENABLE_ and HAVE_ macros shouldn't be used for any other pupose that
+ # for config/build options.
+ #
DEFINES=$(sed -n -e 's/.*[ \t(]\+\(HAVE_[[:alnum:]]\+[^ \t);]*\).*/\1/p' \
- -e 's/.*[ \t(]\+\(ENABLE_[[:alnum:]]\+[^ \t);]*\).*/\1/p' \
+ -e 's/.*[ \t(]\+\(ENABLE_[[:alnum:]]\+[^ \t);]*\).*/\1/p' \
$srcfile | sort -u)
[ -z "$DEFINES" ] && continue