From cec37c9b66b8711b213f114875d215f56b8120aa Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 8 May 2014 12:30:23 -0300 Subject: logging: remove unused message-id scripts The current unused implementation for message-ids in the logs depends on automatically generated files. The generated files are not included in the distributed tarball. This causes issues when distributions build packages, they need to re-run ./autogen.sh to create the needed files. I thought of including the generated files in the distribution tarball. However, the contents of these files are not actively used, so it seems to make more sense to drop it all together. These functions were the only users of libintl and gettext too, so dropped the requirement checking from configure.ac. A replacement for the message-id logging framework is in progress. Any changes that this patch makes, can be reverted in the submission of patches for the new framework. Reference: http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6212 Change-Id: Iea82dd3910944a5c6be3ee393806eccabd575e11 BUG: 1038391 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/7714 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- autogen.sh | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index eb869d52e6a..fef2f037426 100755 --- a/autogen.sh +++ b/autogen.sh @@ -60,15 +60,6 @@ if [ $? -ne 0 ]; then MISSING="$MISSING tar" fi -# Check for python -if [ "x${PYTHONBIN}" = "x" ]; then - PYTHONBIN=python -fi -env ${PYTHONBIN} -V > /dev/null 2>&1 -if [ $? -ne 0 ]; then - MISSING="$MISSING python" -fi - ## If dependencies are missing, warn the user and abort if [ "x$MISSING" != "x" ]; then echo "Aborting." @@ -84,16 +75,6 @@ if [ "x$MISSING" != "x" ]; then exit 1 fi -## generate gf-error-codes.h from error-codes.json -echo "Generate gf-error-codes.h ..." -if ${PYTHONBIN} ./gen-headers.py; then - if ! mv -fv gf-error-codes.h libglusterfs/src/gf-error-codes.h; then - exit 1 - fi -else - exit 1 -fi - ## Do the autogeneration echo Running ${ACLOCAL}... $ACLOCAL -I ./contrib/aclocal -- cgit