From de6dd7a3781ebc2f7b74e8f183f374b55cbfb8d2 Mon Sep 17 00:00:00 2001 From: Vadim Kurland Date: Fri, 4 Jul 2008 01:49:50 +0000 Subject: [PATCH] checking if acinclude, libtoolize and aclocal are present before calling in autogen.sh --- autogen.sh | 6 +++--- build_num | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autogen.sh b/autogen.sh index 44c2c5137..9b7923ec5 100755 --- a/autogen.sh +++ b/autogen.sh @@ -25,9 +25,9 @@ ACLOCALARG="" test -d /sw/share/ && ACLOCALARG=" -I /sw/share/aclocal" -libtoolize --force --copy -acinclude -aclocal ${ACLOCALARG} +which libtoolize >/dev/null 2>&1 && libtoolize --force --copy +which acinclude >/dev/null 2>&1 && acinclude +which aclocal >/dev/null 2>&1 && aclocal ${ACLOCALARG} autoconf ./configure ${CFGARGS} $* diff --git a/build_num b/build_num index c8111136d..3f6e0becf 100644 --- a/build_num +++ b/build_num @@ -1 +1 @@ -#define BUILD_NUM 15 +#define BUILD_NUM 0