From 65a96aab2cd84feba3656d59cde63ae6a4df9f76 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 11 Aug 2008 20:07:53 +0000 Subject: [PATCH] merged in Shawn's build tools checker for autogen git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1411 9efc2488-bf62-4759-914b-345cdb29e865 --- autogen.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/autogen.sh b/autogen.sh index dc8591f..9190b41 100755 --- a/autogen.sh +++ b/autogen.sh @@ -15,6 +15,22 @@ ${AUTOMAKE} --add-missing ${AUTOCONF} +SILENT=`which libtoolize aclocal autoheader automake autoconf` +case "$?" in + 0 ) + echo All build tools found. + ;; + 1) + echo + echo "--------------------------------------------------------------" + echo " >>> Some build tools are missing! <<<" + echo Please make sure your system has the GNU autoconf and automake + echo toolchains installed. + echo "--------------------------------------------------------------" + exit + ;; +esac + echo echo "---------------------------------------------" echo "autogen finished running, now run ./configure" -- 2.11.0