Cleanup auto-generated defines vofed-4.8 vofed-4.8-rc4
authorVladimir Sokolovsky <vlad@mellanox.com>
Wed, 17 May 2017 15:30:46 +0000 (18:30 +0300)
committerVladimir Sokolovsky <vlad@mellanox.com>
Wed, 17 May 2017 15:30:46 +0000 (18:30 +0300)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
configure.ac

index 33e57c5..e2ee3ee 100644 (file)
@@ -16,3 +16,15 @@ SET_BUILD_ARCH
 LB_PROG_CC
 OFA_PROG_LINUX
 LB_CONDITIONALS
+
+#
+#       cleanup auto-generated defines
+#
+sed -i '/\<PACKAGE\>/d' $PWD/config.h
+sed -i '/\<PACKAGE_BUGREPORT\>/d' $PWD/config.h
+sed -i '/\<PACKAGE_NAME\>/d' $PWD/config.h
+sed -i '/\<PACKAGE_STRING\>/d' $PWD/config.h
+sed -i '/\<PACKAGE_TARNAME\>/d' $PWD/config.h
+sed -i '/\<PACKAGE_URL\>/d' $PWD/config.h
+sed -i '/\<PACKAGE_VERSION\>/d' $PWD/config.h
+sed -i '/\<VERSION\>/d' $PWD/config.h