diff options
author | Karel Zak <kzak@redhat.com> | 2008-11-26 14:24:52 +0100 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2008-11-26 14:24:52 +0100 |
commit | 76fe37dae132d50cbc2b42eb6aac23648339db0d (patch) | |
tree | 3a77208b5104d99cab4d8f3eff304eb28d1a02aa /tools | |
parent | 043102bf197e1f0e082cc0eaf4d3d5d7c3b79f7b (diff) | |
download | util-linux-76fe37dae132d50cbc2b42eb6aac23648339db0d.tar.gz |
fdisk: rename ENABLE_CMDTAGQ macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/checkconfig.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/checkconfig.sh b/tools/checkconfig.sh index c5f30738..984e72be 100755 --- a/tools/checkconfig.sh +++ b/tools/checkconfig.sh @@ -30,8 +30,14 @@ while (( "$#" )); do [ ! -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 |